iomanager.c File Reference

#include "iomanager_l.h"
#include "iolayer_l.h"
#include "iolayer_be.h"
#include <gwenhywfar/list1.h>
#include "i18n_l.h"
#include <gwenhywfar/misc.h>
#include <gwenhywfar/debug.h>
#include <gwenhywfar/gui.h>
#include <gwenhywfar/gwentime.h>
#include <assert.h>
#include <gnutls/gnutls.h>
Include dependency graph for iomanager.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int GWEN_Io_Manager_ModuleFini ()
int GWEN_Io_Manager_ModuleInit ()
int GWEN_Io_Manager_RegisterLayer (GWEN_IO_LAYER *io)
int GWEN_Io_Manager_UnregisterLayer (GWEN_IO_LAYER *io)
int GWEN_Io_Manager_Wait (int msecs, uint32_t guiid)
int GWEN_Io_Manager_WaitForRequest (GWEN_IO_REQUEST *r, int msecs)
GWEN_IO_LAYER_WORKRESULT GWEN_Io_Manager_Work (void)

Variables

static GWEN_IO_LAYER_LIST * ioLayerList = NULL

Function Documentation

int GWEN_Io_Manager_ModuleFini (  ) 

Definition at line 47 of file iomanager.c.

References ioLayerList, and NULL.

Referenced by GWEN_Fini().

Here is the caller graph for this function:

int GWEN_Io_Manager_ModuleInit (  ) 

Definition at line 37 of file iomanager.c.

References ioLayerList.

Referenced by GWEN_Init().

Here is the caller graph for this function:

int GWEN_Io_Manager_RegisterLayer ( GWEN_IO_LAYER io  ) 
int GWEN_Io_Manager_UnregisterLayer ( GWEN_IO_LAYER io  ) 

Definition at line 81 of file iomanager.c.

References DBG_INFO, GWEN_ERROR_INVALID, GWEN_IO_LAYER_FLAGS_REGISTERED, GWEN_Io_Layer_SubFlags(), GWEN_LOGDOMAIN, and ioLayerList.

Referenced by GWEN_IpcManager_RemoveClient().

Here is the call graph for this function:

Here is the caller graph for this function:

int GWEN_Io_Manager_Wait ( int  msecs,
uint32_t  guiid 
)

Definition at line 135 of file iomanager.c.

References DBG_INFO, GWEN_ERROR_EOF, GWEN_Gui_WaitForSockets(), GWEN_Io_Layer_AddWaitingSockets(), GWEN_LOGDOMAIN, GWEN_Socket_List2_free(), GWEN_Socket_List2_new(), and ioLayerList.

Referenced by GWEN_Io_Manager_WaitForRequest().

Here is the call graph for this function:

Here is the caller graph for this function:

int GWEN_Io_Manager_WaitForRequest ( GWEN_IO_REQUEST r,
int  msecs 
)
GWEN_IO_LAYER_WORKRESULT GWEN_Io_Manager_Work ( void   ) 

Definition at line 106 of file iomanager.c.

References GWEN_Io_Layer_WorkOnRequests(), GWEN_Io_Layer_WorkResultBlocking, GWEN_Io_Layer_WorkResultOk, and ioLayerList.

Referenced by GWEN_Io_Manager_WaitForRequest().

Here is the call graph for this function:

Here is the caller graph for this function:


Variable Documentation

GWEN_IO_LAYER_LIST* ioLayerList = NULL [static]
Generated on Mon Jul 5 22:55:49 2010 for gwenhywfar by  doxygen 1.6.3