Home | History | Annotate | Download | only in qemud

Lines Matching full:fdhandler

686  ** from a FDHandler (see below) or something else.
738 ** the FDHandler.
741 typedef struct FDHandler FDHandler;
744 struct FDHandler {
755 FDHandler* next;
756 FDHandler** pref;
764 /* list of active FDHandler objects */
765 FDHandler* active;
767 /* list of closing FDHandler objects.
772 FDHandler* closing;
776 /* remove a FDHandler from its current list */
778 fdhandler_remove( FDHandler* f )
785 /* add a FDHandler to a given list */
787 fdhandler_prepend( FDHandler* f, FDHandler** list )
796 /* initialize a FDHandler list */
806 /* close a FDHandler (and free it). Note that this will not
814 * notify the FDHandler that its packet source is closed.
817 fdhandler_close( FDHandler* f )
845 /* Ask the FDHandler to cleanly shutdown the connection,
850 fdhandler_shutdown( FDHandler* f )
869 /* Enqueue a new packet that the FDHandler will
873 fdhandler_enqueue( FDHandler* f, Packet* p )
888 /* FDHandler file descriptor event callback for read/write ops */
890 fdhandler_event( FDHandler* f, int events )
945 /* Create a new FDHandler that monitors read/writes */
946 static FDHandler*
951 FDHandler* f = xalloc0(sizeof(*f));
974 fdhandler_accept_event( FDHandler* f, int events )
1001 /* Create a new FDHandler used to monitor new connections on a
1005 static FDHandler*
1010 FDHandler* f = xalloc0(sizeof(*f));
1055 FDHandler* fdhandler; /* used to monitor serial port fd */
1078 /* a callback called when a packet arrives from the serial port's FDHandler.
1172 fdhandler_enqueue( s->fdhandler, h );
1173 fdhandler_enqueue( s->fdhandler, p );
1192 s->fdhandler = fdhandler_new( fd, list, &recv );
1227 FDHandler* fdhandler;
1248 funcname, c, c->fdhandler->fd,
1264 /* gently ask the FDHandler to shutdown to
1266 if (c->fdhandler != NULL) {
1267 fdhandler_shutdown(c->fdhandler);
1268 c->fdhandler = NULL;
1324 T("%s: client %p (%d)", __FUNCTION__, c, c->fdhandler->fd);
1326 /* no need to shutdown the FDHandler */
1327 c->fdhandler = NULL;
1356 fdhandler_enqueue(c->fdhandler, p);
1372 fdhandler_enqueue(c->fdhandler, p);
1398 c->fdhandler = fdhandler_new( fd, pfdhandlers, &recv );