Home
last modified time | relevance | path

Searched refs:clientp (Results 1 – 25 of 64) 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 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 Dlib1530.c29 static curl_socket_t opensocket(void *clientp, in opensocket() argument
35 (void)clientp; in opensocket()
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/docs/libcurl/opts/
H A DCURLOPT_CLOSESOCKETFUNCTION.md23 int closesocket_callback(void *clientp, curl_socket_t item);
40 The *clientp* pointer is set with
55 static int closesocket(void *clientp, curl_socket_t item)
57 struct priv *my = clientp;
H A DCURLSHOPT_USERDATA.md25 CURLSHcode curl_share_setopt(CURLSH *share, CURLSHOPT_USERDATA, void *clientp);
30 The *clientp* parameter is held verbatim by libcurl and is passed on as
31 the *clientp* argument to the callbacks set with
H A DCURLMOPT_TIMERDATA.md32 callback's **clientp** argument.
45 static int timerfunc(CURLM *multi, long timeout_ms, void *clientp)
47 struct priv *mydata = clientp;
H A DCURLOPT_SSH_HOSTKEYFUNCTION.md24 int keycallback(void *clientp,
44 **clientp** is a custom pointer set with CURLOPT_SSH_HOSTKEYDATA(3).
68 int hostkeycb(void *clientp, /* passed with CURLOPT_SSH_HOSTKEYDATA */
73 /* 'clientp' points to the callback_data struct */
H A DCURLOPT_IOCTLFUNCTION.md36 curlioerr ioctl_callback(CURL *handle, int cmd, void *clientp);
55 The *clientp* argument to the callback is set with the
75 static curlioerr ioctl_callback(CURL *handle, int cmd, void *clientp)
77 struct data *io = (struct data *)clientp;
H A DCURLMOPT_TIMERFUNCTION.md25 void *clientp); /* private callback pointer */
48 The **clientp** pointer is set with CURLMOPT_TIMERDATA(3).
73 static int timerfunc(CURLM *multi, long timeout_ms, void *clientp)
75 struct priv *mydata = clientp;
H A DCURLOPT_OPENSOCKETDATA.md42 static curl_socket_t opensocket(void *clientp,
47 sockfd = *(curl_socket_t *)clientp;
53 static int sockopt_callback(void *clientp, curl_socket_t curlfd,
H A DCURLOPT_OPENSOCKETFUNCTION.md36 curl_socket_t opensocket_callback(void *clientp,
54 The *clientp* pointer contains whatever user-defined value set using the
83 static curl_socket_t opensocket(void *clientp,
88 sockfd = *(curl_socket_t *)clientp;
94 static int sockopt_callback(void *clientp, curl_socket_t curlfd,
H A DCURLOPT_SOCKOPTFUNCTION.md35 int sockopt_callback(void *clientp,
60 The *clientp* pointer contains whatever user-defined value set using the
82 static curl_socket_t opensocket(void *clientp,
87 sockfd = *(curl_socket_t *)clientp;
93 static int sockopt_callback(void *clientp, curl_socket_t curlfd,
H A DCURLSHOPT_LOCKFUNC.md26 void *clientp);
48 *clientp* is the private pointer you set with CURLSHOPT_USERDATA(3).
55 curl_lock_access access, void *clientp);
H A DCURLOPT_SEEKDATA.md46 static int seek_cb(void *clientp, curl_off_t offset, int origin)
48 struct data *d = (struct data *)clientp;
H A DCURLOPT_SEEKFUNCTION.md31 int seek_callback(void *clientp, curl_off_t offset, int origin);
52 *clientp* is the pointer you set with CURLOPT_SEEKDATA(3).
76 static int seek_cb(void *clientp, curl_off_t offset, int origin)
78 struct data *d = (struct data *)clientp;
H A DCURLOPT_PROGRESSDATA.md43 static size_t progress_callback(void *clientp,
49 struct progress *memory = clientp;
/curl/src/
H A Dtool_cb_rea.h38 int tool_readbusy_cb(void *clientp,
H A Dtool_progress.h28 int xferinfo_cb(void *clientp,

Completed in 40 milliseconds

123