io_memory.c File Reference

#include "io_memory_p.h"
#include <gwenhywfar/iolayer_be.h>
#include <gwenhywfar/iorequest_be.h>
#include "i18n_l.h"
#include <gwenhywfar/misc.h>
#include <gwenhywfar/debug.h>
#include <gwenhywfar/gui.h>
#include <assert.h>
#include <errno.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>

Go to the source code of this file.

Functions

int GWEN_Io_LayerMemory_AddRequest (GWEN_IO_LAYER *io, GWEN_IO_REQUEST *r)
int GWEN_Io_LayerMemory_DelRequest (GWEN_IO_LAYER *io, GWEN_IO_REQUEST *r)
GWENHYWFAR_CB void GWEN_Io_LayerMemory_freeData (void *bp, void *p)
GWEN_IO_LAYERGWEN_Io_LayerMemory_fromString (const uint8_t *p, int size)
GWEN_BUFFERGWEN_Io_LayerMemory_GetBuffer (const GWEN_IO_LAYER *io)
int GWEN_Io_LayerMemory_HasWaitingRequests (GWEN_IO_LAYER *io)
GWEN_IO_LAYERGWEN_Io_LayerMemory_new (GWEN_BUFFER *buffer)
GWEN_IO_LAYER_WORKRESULT GWEN_Io_LayerMemory_WorkOnRequests (GWEN_IO_LAYER *io)


Function Documentation

int GWEN_Io_LayerMemory_AddRequest ( GWEN_IO_LAYER io,
GWEN_IO_REQUEST r 
)

int GWEN_Io_LayerMemory_DelRequest ( GWEN_IO_LAYER io,
GWEN_IO_REQUEST r 
)

Definition at line 230 of file io_memory.c.

References GWEN_ERROR_INVALID.

Referenced by GWEN_Io_LayerMemory_new().

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

int GWEN_Io_LayerMemory_HasWaitingRequests ( GWEN_IO_LAYER io  ) 

Definition at line 236 of file io_memory.c.

Referenced by GWEN_Io_LayerMemory_new().

GWEN_IO_LAYER_WORKRESULT GWEN_Io_LayerMemory_WorkOnRequests ( GWEN_IO_LAYER io  ) 

Definition at line 114 of file io_memory.c.

References GWEN_INHERIT_GETDATA, and GWEN_Io_Layer_WorkResultBlocking.

Referenced by GWEN_Io_LayerMemory_new().


Generated on Wed Jul 9 13:12:29 2008 for gwenhywfar by  doxygen 1.5.6