Home
last modified time | relevance | path

Searched refs:client (Results 1 - 9 of 9) sorted by relevance

/Couchbase_C_Client_v3.0/contrib/cbsasl/src/
H A Dclient.c43 conn->client = 1; in cbsasl_client_new()
46 conn->c.client.get_username = callbacks->username; in cbsasl_client_new()
47 conn->c.client.get_username_ctx = callbacks->context; in cbsasl_client_new()
48 conn->c.client.get_password = callbacks->password; in cbsasl_client_new()
49 conn->c.client.get_password_ctx = callbacks->context; in cbsasl_client_new()
51 if (conn->c.client.get_username == NULL || conn->c.client.get_password == NULL) { in cbsasl_client_new()
71 if (conn->client == 0) { in cbsasl_client_start()
80 conn->c.client.auth_mech = SASL_AUTH_MECH_SCRAM_SHA512; in cbsasl_client_start()
83 conn->c.client in cbsasl_client_start()
[all...]
H A Dcommon.c25 if ((*conn)->client) { in cbsasl_dispose()
26 free((*conn)->c.client.userdata); in cbsasl_dispose()
27 free((*conn)->c.client.nonce); in cbsasl_dispose()
28 free((*conn)->c.client.client_first_message_bare); in cbsasl_dispose()
29 free((*conn)->c.client.saltedpassword); in cbsasl_dispose()
30 free((*conn)->c.client.auth_message); in cbsasl_dispose()
/Couchbase_C_Client_v3.0/tests/basic/
H A Dt_scram.cc245 // expected client proof in TEST_F()
291 // expected client proof in TEST_F()
335 // expected client proof in TEST_F()
370 // expected client proof in TEST_F()
401 // expected client proof in TEST_F()
429 // expected client proof in TEST_F()
445 ctx.client = 1; in TEST_F()
446 ctx.c.client.auth_mech = SASL_AUTH_MECH_SCRAM_SHA512; in TEST_F()
449 ctx.c.client.saltedpassword = (unsigned char *)"\xaf\xe6\xc5\x53\x07\x85\xb6\xcc\x6b\x1c\x64\x53\x38\x47\x31" in TEST_F()
454 ctx.c.client in TEST_F()
[all...]
/Couchbase_C_Client_v3.0/tests/mocksupport/
H A Dserver.c229 info->client = accept(info->sock, NULL, NULL);
230 if (info->client == -1) {
244 lcb_assert(info->client != -1);
247 nr = recv(info->client, buffer + offset, sizeof(buffer) - (size_t)offset - 1, 0);
348 closesocket(info->client);
H A Dserver.h53 int client; member
/Couchbase_C_Client_v3.0/tools/
H A Dcbc-proxy.cc144 struct client { struct
152 static void dump_bytes(const struct client *cl, const char *msg, const void *ptr, size_t len) in dump_bytes()
236 auto *cl = (struct client *)cookie; in pktfwd_callback()
250 struct client *cl = nullptr; in n1ql_callback()
292 struct client *cl = nullptr; in fts_callback()
333 auto *cl = (client *)cookie; in conn_readcb()
436 auto *cl = (client *)cookie; in conn_eventcb()
460 auto *cl = new client(); in listener_cb()
466 lcb_log(LOGARGS(INFO), CL_LOGFMT "new client connection", CL_LOGID(cl)); in listener_cb()
/Couchbase_C_Client_v3.0/contrib/cbsasl/include/cbsasl/
H A Dcbsasl.h93 char *nonce; // client nonce for SCRAM-SHA authentication
109 int client; member
111 struct cbsasl_client_conn_t client; member
142 * When a client receives a request for sasl authentication this function is
/Couchbase_C_Client_v3.0/example/mcc/
H A Dmcc.cc251 MultiClusterClient client(clusters); in main()
254 std::cout << lcb_strerror_short(client.store(key, value)) << std::endl; in main()
258 lcb_STATUS err = client.get(key, value); in main()
/Couchbase_C_Client_v3.0/tests/iotests/
H A Dmock-environment.cc243 lcb_ssize_t nw = send(mock->client, s.c_str(), (unsigned long)s.size(), 0); in sendCommand()
252 lcb_ssize_t rv = recv(mock->client, &c, 1, 0); in getResponse()
535 /* ensure that inner client is in a good shape (e.g. update internal timers, check dead sockets etc.) */ in clearAndReset()

Completed in 34 milliseconds