Home
last modified time | relevance | path

Searched refs:userdata (Results 1 – 25 of 48) sorted by relevance

12

/curl/tests/libtest/
H A Dlib655.c32 resolver_alloc_cb_fail(void *resolver_state, void *reserved, void *userdata) in resolver_alloc_cb_fail() argument
38 if(strcmp(userdata, TEST_DATA_STRING)) { in resolver_alloc_cb_fail()
47 resolver_alloc_cb_pass(void *resolver_state, void *reserved, void *userdata) in resolver_alloc_cb_pass() argument
53 if(strcmp(userdata, TEST_DATA_STRING)) { in resolver_alloc_cb_pass()
H A Dlib586.c35 struct userdata { struct
45 struct userdata *user = (struct userdata *)useptr; in test_lock() argument
75 struct userdata *user = (struct userdata *)useptr; in test_unlock()
141 struct userdata user; in test()
H A Dlib1533.c54 void *userdata) in read_callback() argument
56 struct cb_data *data = (struct cb_data *)userdata; in read_callback()
80 void *userdata) in write_callback() argument
82 struct cb_data *data = (struct cb_data *)userdata; in write_callback()
H A Dlib1971.c29 void *userdata) in read_callback() argument
34 (void)userdata; /* unused */ in read_callback()
H A Dlib1975.c29 void *userdata) in read_callback() argument
34 (void)userdata; /* unused */ in read_callback()
H A Dlib1598.c37 static int trailers_callback(struct curl_slist **list, void *userdata) in trailers_callback() argument
41 (void)userdata; in trailers_callback()
H A Dlib506.c37 struct userdata { struct
49 struct userdata *user = (struct userdata *)useptr; in test_lock() argument
88 struct userdata *user = (struct userdata *)useptr; in test_unlock()
188 struct userdata user; in test()
H A Dlib1591.c58 static int trailers_callback(struct curl_slist **list, void *userdata) in trailers_callback() argument
62 (void)userdata; in trailers_callback()
H A Dlib1156.c76 static size_t writedata(char *data, size_t size, size_t nmemb, void *userdata) in writedata() argument
79 (void) userdata; in writedata()
/curl/docs/libcurl/opts/
H A DCURLOPT_RESOLVER_START_FUNCTION.md24 int resolver_start_cb(void *resolver_state, void *reserved, void *userdata);
46 *userdata* is the user pointer set with the
62 void *userdata)
65 printf("Received resolver_state=%p userdata=%p\n",
66 resolver_state, userdata);
H A DCURLOPT_RESOLVER_START_DATA.md44 void *userdata)
47 printf("Received resolver_state=%p userdata=%p\n",
48 resolver_state, userdata);
H A DCURLOPT_READFUNCTION.md28 size_t read_callback(char *buffer, size_t size, size_t nitems, void *userdata);
43 Set the *userdata* argument with the CURLOPT_READDATA(3) option.
66 internal read function is used. It is doing an fread() on the FILE * userdata
83 size_t read_callback(char *ptr, size_t size, size_t nmemb, void *userdata)
85 FILE *readhere = (FILE *)userdata;
H A DCURLOPT_HEADERDATA.md58 size_t nitems, void *userdata)
60 struct my_info *i = userdata;
H A DCURLOPT_PUT.md46 static size_t read_cb(char *ptr, size_t size, size_t nmemb, void *userdata)
48 FILE *src = userdata;
/curl/src/
H A Dtool_cb_see.c48 int tool_seek_cb(void *userdata, curl_off_t offset, int whence) in tool_seek_cb() argument
50 struct per_transfer *per = userdata; in tool_seek_cb()
H A Dtool_cb_see.h32 int tool_seek_cb(void *userdata, curl_off_t offset, int whence);
H A Dtool_cb_dbg.h34 void *userdata);
H A Dtool_cb_wrt.h32 size_t tool_write_cb(char *buffer, size_t sz, size_t nmemb, void *userdata);
H A Dtool_cb_rea.h32 size_t tool_read_cb(char *buffer, size_t sz, size_t nmemb, void *userdata);
H A Dtool_cb_hdr.h59 size_t tool_header_cb(char *ptr, size_t size, size_t nmemb, void *userdata);
H A Dtool_cb_rea.c45 size_t tool_read_cb(char *buffer, size_t sz, size_t nmemb, void *userdata) in tool_read_cb() argument
48 struct per_transfer *per = userdata; in tool_read_cb()
/curl/lib/
H A Dconncache.h103 void *userdata); typedef
106 typedef bool Curl_cpool_done_match_cb(bool result, void *userdata); typedef
125 void *userdata);
/curl/tests/http/clients/
H A Dupload-pausing.c65 void *userdata) in debug_cb() argument
74 (void)userdata; in debug_cb()
144 void *userdata) in read_callback() argument
148 (void)userdata; in read_callback()
H A Dhx-upload.c70 void *userdata) in debug_cb() argument
79 (void)userdata; in debug_cb()
178 void *userdata) in my_write_cb() argument
180 struct transfer *t = userdata; in my_write_cb()
204 void *userdata) in my_read_cb() argument
206 struct transfer *t = userdata; in my_read_cb()
238 static int my_progress_cb(void *userdata, in my_progress_cb() argument
242 struct transfer *t = userdata; in my_progress_cb()
H A Dhx-download.c70 void *userdata) in debug_cb() argument
79 (void)userdata; in debug_cb()
175 void *userdata) in my_write_cb() argument
177 struct transfer *t = userdata; in my_write_cb()
214 static int my_progress_cb(void *userdata, in my_progress_cb() argument
218 struct transfer *t = userdata; in my_progress_cb()

Completed in 47 milliseconds

12