ixmlmembuf.h File Reference

#include <stdlib.h>
#include "ixml.h"

Go to the source code of this file.

Data Structures

struct  ixml_membuf

Defines

#define MINVAL(a, b)   ( (a) < (b) ? (a) : (b) )
#define MAXVAL(a, b)   ( (a) > (b) ? (a) : (b) )
#define XINLINE   inline
#define MEMBUF_DEF_SIZE_INC   20

Functions

void ixml_membuf_init (INOUT ixml_membuf *m)
void ixml_membuf_destroy (INOUT ixml_membuf *m)
int ixml_membuf_assign (INOUT ixml_membuf *m, IN const void *buf, IN size_t buf_len)
int ixml_membuf_assign_str (INOUT ixml_membuf *m, IN const char *c_str)
int ixml_membuf_append (INOUT ixml_membuf *m, IN const void *buf)
int ixml_membuf_append_str (INOUT ixml_membuf *m, IN const char *c_str)
int ixml_membuf_insert (INOUT ixml_membuf *m, IN const void *buf, IN size_t buf_len, int index)

Define Documentation

#define MAXVAL ( a,
 )     ( (a) > (b) ? (a) : (b) )

Definition at line 39 of file ixmlmembuf.h.

#define MEMBUF_DEF_SIZE_INC   20

Definition at line 45 of file ixmlmembuf.h.

#define MINVAL ( a,
 )     ( (a) < (b) ? (a) : (b) )

Definition at line 38 of file ixmlmembuf.h.

#define XINLINE   inline

Definition at line 42 of file ixmlmembuf.h.


Function Documentation

int ixml_membuf_append ( INOUT ixml_membuf m,
IN const void *  buf 
)
int ixml_membuf_append_str ( INOUT ixml_membuf m,
IN const char *  c_str 
)
int ixml_membuf_assign ( INOUT ixml_membuf m,
IN const void *  buf,
IN size_t  buf_len 
)
int ixml_membuf_assign_str ( INOUT ixml_membuf m,
IN const char *  c_str 
)
void ixml_membuf_destroy ( INOUT ixml_membuf m  ) 
void ixml_membuf_init ( INOUT ixml_membuf m  ) 
int ixml_membuf_insert ( INOUT ixml_membuf m,
IN const void *  buf,
IN size_t  buf_len,
int  index 
)

Generated on Fri Mar 26 20:16:54 2010 for MediaTomb by  doxygen 1.6.1