gwenhywfar  4.6.0beta
Macros | Functions
xmlrw.c File Reference

Go to the source code of this file.

Macros

#define CHECK_ERROR(rv)

Functions

int GWEN_XML__ReadAllFromIo (GWEN_XML_CONTEXT *ctx, GWEN_SYNCIO *sio)
int GWEN_XML__ReadData (GWEN_XML_CONTEXT *ctx, GWEN_FAST_BUFFER *fb, GWEN_UNUSED uint32_t flags)
int GWEN_XML__ReadTag (GWEN_XML_CONTEXT *ctx, GWEN_FAST_BUFFER *fb, GWEN_UNUSED uint32_t flags, GWEN_BUFFER *dbuf)
int GWEN_XML_ReadFile (GWEN_XMLNODE *n, const char *filepath, uint32_t flags)
int GWEN_XML_ReadFromFastBuffer (GWEN_XML_CONTEXT *ctx, GWEN_FAST_BUFFER *fb)
int GWEN_XMLContext_ReadFromFile (GWEN_XML_CONTEXT *ctx, const char *fname)
int GWEN_XMLContext_ReadFromIo (GWEN_XML_CONTEXT *ctx, GWEN_SYNCIO *sio)
int GWEN_XMLContext_ReadFromString (GWEN_XML_CONTEXT *ctx, const char *text)
int GWEN_XMLNode__WriteToStream (const GWEN_XMLNODE *n, GWEN_FAST_BUFFER *fb, uint32_t flags, unsigned int ind)
GWEN_XMLNODEGWEN_XMLNode_fromString (const char *s, int len, uint32_t flags)
int GWEN_XMLNode_toBuffer (const GWEN_XMLNODE *n, GWEN_BUFFER *buf, uint32_t flags)
int GWEN_XMLNode_WriteFile (const GWEN_XMLNODE *n, const char *fname, uint32_t flags)
int GWEN_XMLNode_WriteToStream (const GWEN_XMLNODE *n, GWEN_XML_CONTEXT *ctx, GWEN_SYNCIO *sio)

Macro Definition Documentation

#define CHECK_ERROR (   rv)
Value:
if (rv<0) {\
DBG_INFO(GWEN_LOGDOMAIN, "here (%d)", rv);\
return rv;\
}

Referenced by GWEN_XMLNode__WriteToStream().

Function Documentation

int GWEN_XML__ReadAllFromIo ( GWEN_XML_CONTEXT ctx,
GWEN_SYNCIO sio 
)
int GWEN_XML__ReadData ( GWEN_XML_CONTEXT ctx,
GWEN_FAST_BUFFER fb,
GWEN_UNUSED uint32_t  flags 
)
int GWEN_XML__ReadTag ( GWEN_XML_CONTEXT ctx,
GWEN_FAST_BUFFER fb,
GWEN_UNUSED uint32_t  flags,
GWEN_BUFFER dbuf 
)
int GWEN_XMLNode__WriteToStream ( const GWEN_XMLNODE n,
GWEN_FAST_BUFFER fb,
uint32_t  flags,
unsigned int  ind 
)