Home | History | Annotate | Download | only in qemud

Lines Matching full:fdhandler

690 FDHandler (see below) or something else.
742 ** the FDHandler.
745 typedef struct FDHandler FDHandler;
748 struct FDHandler {
759 FDHandler* next;
760 FDHandler** pref;
768 /* list of active FDHandler objects */
769 FDHandler* active;
771 /* list of closing FDHandler objects.
776 FDHandler* closing;
780 /* remove a FDHandler from its current list */
782 fdhandler_remove( FDHandler* f )
789 /* add a FDHandler to a given list */
791 fdhandler_prepend( FDHandler* f, FDHandler** list )
800 /* initialize a FDHandler list */
810 /* close a FDHandler (and free it). Note that this will not
818 * notify the FDHandler that its packet source is closed.
821 fdhandler_close( FDHandler* f )
849 /* Ask the FDHandler to cleanly shutdown the connection,
854 fdhandler_shutdown( FDHandler* f )
873 /* Enqueue a new packet that the FDHandler will
877 fdhandler_enqueue( FDHandler* f, Packet* p )
892 /* FDHandler file descriptor event callback for read/write ops */
894 fdhandler_event( FDHandler* f, int events )
949 /* Create a new FDHandler that monitors read/writes */
950 static FDHandler*
955 FDHandler* f = xalloc0(sizeof(*f));
978 fdhandler_accept_event( FDHandler* f, int events )
1005 /* Create a new FDHandler used to monitor new connections on a
1009 static FDHandler*
1014 FDHandler* f = xalloc0(sizeof(*f));
1059 FDHandler* fdhandler; /* used to monitor serial port fd */
1082 /* a callback called when a packet arrives from the serial port's FDHandler.
1176 fdhandler_enqueue( s->fdhandler, h );
1177 fdhandler_enqueue( s->fdhandler, p );
1196 s->fdhandler = fdhandler_new( fd, list, &recv );
1231 FDHandler* fdhandler;
1252 funcname, c, c->fdhandler->fd,
1268 /* gently ask the FDHandler to shutdown to
1270 if (c->fdhandler != NULL) {
1271 fdhandler_shutdown(c->fdhandler);
1272 c->fdhandler = NULL;
1328 T("%s: client %p (%d)", __FUNCTION__, c, c->fdhandler->fd);
1330 /* no need to shutdown the FDHandler */
1331 c->fdhandler = NULL;
1360 fdhandler_enqueue(c->fdhandler, p);
1376 fdhandler_enqueue(c->fdhandler, p);
1402 c->fdhandler = fdhandler_new( fd, pfdhandlers, &recv );