version 2.8
gevent.h File Reference
#include "../../gfx.h"

Go to the source code of this file.

Functions

void geventListenerInit (GListener *pl)
 Create a Listener. More...
 
bool_t geventAttachSource (GListener *pl, GSourceHandle gsh, uint32_t flags)
 Attach a source to a listener. More...
 
void geventDetachSource (GListener *pl, GSourceHandle gsh)
 Detach a source from a listener. More...
 
GEvent * geventEventWait (GListener *pl, delaytime_t timeout)
 Wait for an event on a listener from an assigned source. More...
 
void geventEventComplete (GListener *pl)
 Release the GEvent buffer associated with a listener. More...
 
GSourceListener * geventGetSourceListener (GSourceHandle gsh, GSourceListener *lastlr)
 Called by a source with a possible event to get a listener record. More...
 
GEvent * geventGetEventBuffer (GSourceListener *psl)
 Get the event buffer from the GSourceListener. More...
 
void geventSendEvent (GSourceListener *psl)
 Called by a source to indicate the listener's event buffer has been filled. More...
 
void geventDetachSourceListeners (GSourceHandle gsh)
 Detach any listener that has this source attached. More...