Home
last modified time | relevance | path

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

/curl/docs/examples/
H A Dghiper.c236 SockInfo *fdp = g_malloc0(sizeof(SockInfo)); in addsock() local
238 fdp->global = g; in addsock()
239 fdp->ch = g_io_channel_unix_new(s); in addsock()
240 setsock(fdp, s, easy, action, g); in addsock()
241 curl_multi_assign(g->multi, s, fdp); in addsock()
248 SockInfo *fdp = (SockInfo*) sockp; in sock_cb() local
254 remsock(fdp); in sock_cb()
257 if(!fdp) { in sock_cb()
265 "Changing action from %d to %d\n", fdp->action, what); in sock_cb()
266 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.c275 SockInfo *fdp = calloc(1, sizeof(SockInfo)); in addsock() local
277 fdp->global = g; in addsock()
278 setsock(fdp, s, easy, action, g); in addsock()
279 curl_multi_assign(g->multi, s, fdp); in addsock()
286 SockInfo *fdp = (SockInfo*) sockp; in sock_cb() local
296 remsock(fdp, g); in sock_cb()
299 if(!fdp) { in sock_cb()
306 whatstr[fdp->action], whatstr[what]); in sock_cb()
307 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 13 milliseconds