Home
last modified time | relevance | path

Searched refs:clientp (Results 1 – 25 of 67) sorted by relevance

123

/curl/tests/libtest/
H A Dlib1960.c41 static int closesocket_cb(void *clientp, curl_socket_t item) in closesocket_cb() argument
43 (void)clientp; in closesocket_cb()
49 static curl_socket_t socket_cb(void *clientp, in socket_cb() argument
53 int s = *(int *)clientp; in socket_cb()
60 static int sockopt_cb(void *clientp, in sockopt_cb() argument
64 (void)clientp; in sockopt_cb()
H A Dlib547.c39 void *clientp) in readcallback() argument
41 int *counter = (int *)clientp; in readcallback()
60 void *clientp) in ioctlcallback() argument
62 int *counter = (int *)clientp; in ioctlcallback()
H A Dlib555.c46 void *clientp) in readcallback() argument
48 int *counter = (int *)clientp; in readcallback()
67 void *clientp) in ioctlcallback() argument
69 int *counter = (int *)clientp; in ioctlcallback()
H A Dlib1522.c35 static int sockopt_callback(void *clientp, curl_socket_t curlfd, in sockopt_callback() argument
40 (void) clientp; in sockopt_callback()
45 (void)clientp; in sockopt_callback()
H A Dlib1530.c29 static curl_socket_t opensocket(void *clientp, in opensocket() argument
35 (void)clientp; in opensocket()
H A Dlib500.c33 static curl_socket_t tst_opensocket(void *clientp, in tst_opensocket() argument
37 (void)clientp; in tst_opensocket()
43 static int tst_closesocket(void *clientp, curl_socket_t sock) in tst_closesocket() argument
45 (void)clientp; in tst_closesocket()
H A Dlib599.c28 static int progress_callback(void *clientp, double dltotal, in progress_callback() argument
31 (void)clientp; in progress_callback()
H A Dlib578.c33 static int progress_callback(void *clientp, double dltotal, double dlnow, in progress_callback() argument
38 (void)clientp; /* UNUSED */ in progress_callback()
H A Dlibprereq.c31 static int prereq_callback(void *clientp, in prereq_callback() argument
37 PRCS *prereq_cb = (PRCS *)clientp; in prereq_callback()
/curl/docs/examples/
H A Dexternalsocket.c65 static int closecb(void *clientp, curl_socket_t item) in closecb() argument
67 (void)clientp; in closecb()
72 static curl_socket_t opensocket(void *clientp, in opensocket() argument
79 sockfd = *(curl_socket_t *)clientp; in opensocket()
85 static int sockopt_callback(void *clientp, curl_socket_t curlfd, in sockopt_callback() argument
88 (void)clientp; in sockopt_callback()
/curl/src/
H A Dtool_cb_soc.c38 curl_socket_t tool_socket_open_mptcp_cb(void *clientp, in tool_socket_open_mptcp_cb() argument
44 (void)clientp; in tool_socket_open_mptcp_cb()
H A Dtool_cb_soc.h32 curl_socket_t tool_socket_open_mptcp_cb(void *clientp,
H A Dtool_cb_rea.h38 int tool_readbusy_cb(void *clientp,
/curl/docs/libcurl/opts/
H A DCURLOPT_CLOSESOCKETFUNCTION.md24 int closesocket_callback(void *clientp, curl_socket_t item);
41 The *clientp* pointer is set with
58 static int closesocket(void *clientp, curl_socket_t item)
60 struct priv *my = clientp;
H A DCURLSHOPT_USERDATA.md26 CURLSHcode curl_share_setopt(CURLSH *share, CURLSHOPT_USERDATA, void *clientp);
31 The *clientp* parameter is held verbatim by libcurl and is passed on as
32 the *clientp* argument to the callbacks set with
H A DCURLMOPT_TIMERDATA.md33 callback's **clientp** argument.
48 static int timerfunc(CURLM *multi, long timeout_ms, void *clientp)
50 struct priv *mydata = clientp;
H A DCURLOPT_SSH_HOSTKEYFUNCTION.md25 int keycallback(void *clientp,
45 **clientp** is a custom pointer set with CURLOPT_SSH_HOSTKEYDATA(3).
71 int hostkeycb(void *clientp, /* passed with CURLOPT_SSH_HOSTKEYDATA */
76 /* 'clientp' points to the callback_data struct */
H A DCURLOPT_IOCTLFUNCTION.md37 curlioerr ioctl_callback(CURL *handle, int cmd, void *clientp);
56 The *clientp* argument to the callback is set with the
78 static curlioerr ioctl_callback(CURL *handle, int cmd, void *clientp)
80 struct data *io = (struct data *)clientp;
H A DCURLOPT_OPENSOCKETDATA.md45 static curl_socket_t opensocket(void *clientp,
50 sockfd = *(curl_socket_t *)clientp;
56 static int sockopt_callback(void *clientp, curl_socket_t curlfd,
H A DCURLOPT_SOCKOPTFUNCTION.md36 int sockopt_callback(void *clientp,
61 The *clientp* pointer contains whatever user-defined value set using the
85 static curl_socket_t opensocket(void *clientp,
90 sockfd = *(curl_socket_t *)clientp;
96 static int sockopt_callback(void *clientp, curl_socket_t curlfd,
H A DCURLOPT_OPENSOCKETFUNCTION.md37 curl_socket_t opensocket_callback(void *clientp,
55 The *clientp* pointer contains whatever user-defined value set using the
86 static curl_socket_t opensocket(void *clientp,
91 sockfd = *(curl_socket_t *)clientp;
97 static int sockopt_callback(void *clientp, curl_socket_t curlfd,
H A DCURLSHOPT_LOCKFUNC.md27 void *clientp);
49 *clientp* is the private pointer you set with CURLSHOPT_USERDATA(3).
58 curl_lock_access access, void *clientp);
H A DCURLMOPT_TIMERFUNCTION.md26 void *clientp); /* private callback pointer */
53 The **clientp** pointer is set with CURLMOPT_TIMERDATA(3).
80 static int timerfunc(CURLM *multi, long timeout_ms, void *clientp)
82 struct priv *mydata = clientp;
H A DCURLOPT_SEEKDATA.md49 static int seek_cb(void *clientp, curl_off_t offset, int origin)
51 struct data *d = (struct data *)clientp;
H A DCURLOPT_PROGRESSDATA.md46 static size_t progress_callback(void *clientp,
52 struct progress *memory = clientp;

Completed in 21 milliseconds

123