gwenhywfar 4.0.3
|
#include <gwenhywfar/syncio.h>
#include <gwenhywfar/buffer.h>
Go to the source code of this file.
Defines | |
#define | GWEN_SYNCIO_MEMORY_TYPE "memory" |
Functions | |
GWENHYWFAR_API GWEN_SYNCIO * | GWEN_SyncIo_Memory_fromBuffer (const uint8_t *buffer, int size) |
GWENHYWFAR_API GWEN_BUFFER * | GWEN_SyncIo_Memory_GetBuffer (const GWEN_SYNCIO *sio) |
GWENHYWFAR_API GWEN_SYNCIO * | GWEN_SyncIo_Memory_new (GWEN_BUFFER *buffer, int take) |
GWENHYWFAR_API GWEN_BUFFER * | GWEN_SyncIo_Memory_TakeBuffer (const GWEN_SYNCIO *sio) |
#define GWEN_SYNCIO_MEMORY_TYPE "memory" |
Definition at line 33 of file syncio_memory.h.
Referenced by GWEN_SyncIo_Memory_fromBuffer(), and GWEN_SyncIo_Memory_new().
GWENHYWFAR_API GWEN_SYNCIO* GWEN_SyncIo_Memory_fromBuffer | ( | const uint8_t * | buffer, |
int | size | ||
) |
Definition at line 75 of file syncio_memory.c.
References GWEN_Buffer_AppendBytes(), GWEN_Buffer_new(), GWEN_INHERIT_SETDATA, GWEN_NEW_OBJECT, GWEN_SyncIo_Memory_FreeData(), GWEN_SyncIo_Memory_Read(), GWEN_SYNCIO_MEMORY_TYPE, GWEN_SyncIo_Memory_Write(), GWEN_SyncIo_new(), GWEN_SyncIo_SetReadFn(), GWEN_SyncIo_SetWriteFn(), and NULL.
Referenced by GWEN_DB_ReadFromString(), and GWEN_XMLNode_fromString().
GWENHYWFAR_API GWEN_BUFFER* GWEN_SyncIo_Memory_GetBuffer | ( | const GWEN_SYNCIO * | sio | ) |
Definition at line 115 of file syncio_memory.c.
References GWEN_INHERIT_GETDATA.
GWENHYWFAR_API GWEN_SYNCIO* GWEN_SyncIo_Memory_new | ( | GWEN_BUFFER * | buffer, |
int | take | ||
) |
Definition at line 50 of file syncio_memory.c.
References GWEN_Buffer_new(), GWEN_INHERIT_SETDATA, GWEN_NEW_OBJECT, GWEN_SyncIo_Memory_FreeData(), GWEN_SyncIo_Memory_Read(), GWEN_SYNCIO_MEMORY_TYPE, GWEN_SyncIo_Memory_Write(), GWEN_SyncIo_new(), GWEN_SyncIo_SetReadFn(), GWEN_SyncIo_SetWriteFn(), and NULL.
Referenced by GWEN_DB_WriteToBuffer(), GWEN_DBIO_ExportToBuffer(), GWEN_XMLContext_ReadFromString(), GWEN_XMLNode_fromString(), and GWEN_XMLNode_toBuffer().
GWENHYWFAR_API GWEN_BUFFER* GWEN_SyncIo_Memory_TakeBuffer | ( | const GWEN_SYNCIO * | sio | ) |
Definition at line 127 of file syncio_memory.c.
References DBG_ERROR, GWEN_INHERIT_GETDATA, GWEN_LOGDOMAIN, and NULL.