io_packets.c File Reference

#include "io_packets_p.h"
#include <gwenhywfar/iolayer_be.h>
#include <gwenhywfar/iorequest_be.h>
#include <gwenhywfar/iomanager.h>
#include <gwenhywfar/io_buffered.h>
#include "i18n_l.h"
#include <gwenhywfar/misc.h>
#include <gwenhywfar/debug.h>
#include <gwenhywfar/gui.h>
#include <gwenhywfar/text.h>
#include <assert.h>
#include <ctype.h>

Go to the source code of this file.

Functions

void GWEN_Io_LayerPackets_Abort (GWEN_IO_LAYER *io)
int GWEN_Io_LayerPackets_AddRequest (GWEN_IO_LAYER *io, GWEN_IO_REQUEST *r)
int GWEN_Io_LayerPackets_DelRequest (GWEN_IO_LAYER *io, GWEN_IO_REQUEST *r)
GWENHYWFAR_CB void GWEN_Io_LayerPackets_freeData (void *bp, void *p)
int GWEN_Io_LayerPackets_GetMaxReadQueue (const GWEN_IO_LAYER *io)
int GWEN_Io_LayerPackets_GetMaxWriteQueue (const GWEN_IO_LAYER *io)
int GWEN_Io_LayerPackets_GetReadRequest (GWEN_IO_LAYER *io, GWEN_IO_REQUEST **pRequest, uint32_t guiid, int msecs)
int GWEN_Io_LayerPackets_GetReadSize (const GWEN_IO_LAYER *io)
int GWEN_Io_LayerPackets_HasReadRequests (const GWEN_IO_LAYER *io)
int GWEN_Io_LayerPackets_HasWaitingRequests (GWEN_IO_LAYER *io)
GWEN_IO_LAYERGWEN_Io_LayerPackets_new (GWEN_IO_LAYER *baseLayer)
void GWEN_Io_LayerPackets_SetMaxReadQueue (GWEN_IO_LAYER *io, int i)
void GWEN_Io_LayerPackets_SetMaxWriteQueue (GWEN_IO_LAYER *io, int i)
void GWEN_Io_LayerPackets_SetReadSize (GWEN_IO_LAYER *io, int i)
GWEN_IO_LAYER_WORKRESULT GWEN_Io_LayerPackets_WorkOnReadRequests (GWEN_IO_LAYER *io)
GWEN_IO_LAYER_WORKRESULT GWEN_Io_LayerPackets_WorkOnRequests (GWEN_IO_LAYER *io)
GWEN_IO_LAYER_WORKRESULT GWEN_Io_LayerPackets_WorkOnWriteRequests (GWEN_IO_LAYER *io)


Function Documentation

void GWEN_Io_LayerPackets_Abort ( GWEN_IO_LAYER io  ) 

int GWEN_Io_LayerPackets_AddRequest ( GWEN_IO_LAYER io,
GWEN_IO_REQUEST r 
)

int GWEN_Io_LayerPackets_DelRequest ( GWEN_IO_LAYER io,
GWEN_IO_REQUEST r 
)

GWENHYWFAR_CB void GWEN_Io_LayerPackets_freeData ( void *  bp,
void *  p 
)

int GWEN_Io_LayerPackets_GetMaxReadQueue ( const GWEN_IO_LAYER io  ) 

Definition at line 274 of file io_packets.c.

References GWEN_INHERIT_GETDATA.

int GWEN_Io_LayerPackets_GetMaxWriteQueue ( const GWEN_IO_LAYER io  ) 

Definition at line 298 of file io_packets.c.

References GWEN_INHERIT_GETDATA.

int GWEN_Io_LayerPackets_GetReadRequest ( GWEN_IO_LAYER io,
GWEN_IO_REQUEST **  pRequest,
uint32_t  guiid,
int  msecs 
)

int GWEN_Io_LayerPackets_GetReadSize ( const GWEN_IO_LAYER io  ) 

Definition at line 250 of file io_packets.c.

References GWEN_INHERIT_GETDATA.

int GWEN_Io_LayerPackets_HasReadRequests ( const GWEN_IO_LAYER io  ) 

Definition at line 539 of file io_packets.c.

References GWEN_INHERIT_GETDATA, and GWEN_Io_Request_List_GetCount().

Referenced by GWEN_IpcManager__Work().

int GWEN_Io_LayerPackets_HasWaitingRequests ( GWEN_IO_LAYER io  ) 

Definition at line 521 of file io_packets.c.

References GWEN_INHERIT_GETDATA, and GWEN_Io_Request_List_GetCount().

Referenced by GWEN_Io_LayerPackets_new().

GWEN_IO_LAYER* GWEN_Io_LayerPackets_new ( GWEN_IO_LAYER baseLayer  ) 

void GWEN_Io_LayerPackets_SetMaxReadQueue ( GWEN_IO_LAYER io,
int  i 
)

Definition at line 286 of file io_packets.c.

References GWEN_INHERIT_GETDATA.

void GWEN_Io_LayerPackets_SetMaxWriteQueue ( GWEN_IO_LAYER io,
int  i 
)

Definition at line 310 of file io_packets.c.

References GWEN_INHERIT_GETDATA.

void GWEN_Io_LayerPackets_SetReadSize ( GWEN_IO_LAYER io,
int  i 
)

Definition at line 262 of file io_packets.c.

References GWEN_INHERIT_GETDATA.

GWEN_IO_LAYER_WORKRESULT GWEN_Io_LayerPackets_WorkOnReadRequests ( GWEN_IO_LAYER io  ) 

GWEN_IO_LAYER_WORKRESULT GWEN_Io_LayerPackets_WorkOnRequests ( GWEN_IO_LAYER io  ) 

GWEN_IO_LAYER_WORKRESULT GWEN_Io_LayerPackets_WorkOnWriteRequests ( GWEN_IO_LAYER io  ) 


Generated on Thu Aug 20 13:54:40 2009 for gwenhywfar by  doxygen 1.5.9