Home
last modified time | relevance | path

Searched refs:fdp (Results 1 – 4 of 4) sorted by relevance

/curl/docs/examples/
H A Dghiper.c238 SockInfo *fdp = g_malloc0(sizeof(SockInfo)); in addsock() local
240 fdp->global = g; in addsock()
241 fdp->ch = g_io_channel_unix_new(s); in addsock()
242 setsock(fdp, s, easy, action, g); in addsock()
243 curl_multi_assign(g->multi, s, fdp); in addsock()
250 SockInfo *fdp = (SockInfo*) sockp; in sock_cb() local
256 remsock(fdp); in sock_cb()
259 if(!fdp) { in sock_cb()
267 "Changing action from %d to %d\n", fdp->action, what); in sock_cb()
268 setsock(fdp, s, e, what, g); in sock_cb()
H A Dhiperfifo.c271 SockInfo *fdp = calloc(1, sizeof(SockInfo)); in addsock() local
273 fdp->global = g; in addsock()
274 setsock(fdp, s, easy, action, g); in addsock()
275 curl_multi_assign(g->multi, s, fdp); in addsock()
282 SockInfo *fdp = (SockInfo*) sockp; in sock_cb() local
289 remsock(fdp); in sock_cb()
292 if(!fdp) { in sock_cb()
299 whatstr[fdp->action], whatstr[what]); in sock_cb()
300 setsock(fdp, s, e, what, g); in sock_cb()
H A Devhiperfifo.c271 SockInfo *fdp = calloc(1, sizeof(SockInfo)); in addsock() local
273 fdp->global = g; in addsock()
274 setsock(fdp, s, easy, action, g); in addsock()
275 curl_multi_assign(g->multi, s, fdp); in addsock()
285 SockInfo *fdp = (SockInfo*) sockp; in sock_cb() local
292 remsock(fdp, g); in sock_cb()
295 if(!fdp) { in sock_cb()
302 whatstr[fdp->action], whatstr[what]); in sock_cb()
303 setsock(fdp, s, e, what, g); in sock_cb()
H A Dephiperfifo.c297 SockInfo *fdp = (SockInfo*)calloc(1, sizeof(SockInfo)); in addsock() local
299 fdp->global = g; in addsock()
300 setsock(fdp, s, easy, action, g); in addsock()
301 curl_multi_assign(g->multi, s, fdp); in addsock()
308 SockInfo *fdp = (SockInfo*) sockp; in sock_cb() local
315 remsock(fdp, g); in sock_cb()
318 if(!fdp) { in sock_cb()
325 whatstr[fdp->action], whatstr[what]); in sock_cb()
326 setsock(fdp, s, e, what, g); in sock_cb()

Completed in 18 milliseconds