43 #include "autoconfig.h" 51 #define MINVAL(a, b) ( (a) < (b) ? (a) : (b) ) 52 #define MAXVAL(a, b) ( (a) > (b) ? (a) : (b) ) 55 #define MEMBUF_DEF_SIZE_INC 20u
int ixml_membuf_assign_str(ixml_membuf *m, const char *c_str)
Copies a NULL terminated string to the ixml_buffer.
Definition: ixmlmembuf.c:161
int ixml_membuf_assign(ixml_membuf *m, const void *buf, size_t buf_len)
Copies the contents o a buffer to the designated ixml_membuf.
Definition: ixmlmembuf.c:130
The ixml_membuf type.
Definition: ixmlmembuf.h:61
void ixml_membuf_init(ixml_membuf *m)
ixml_membuf initialization routine.
Definition: ixmlmembuf.c:108
int ixml_membuf_insert(ixml_membuf *m, const void *buf, size_t buf_len, size_t index)
int ixml_membuf_append(ixml_membuf *m, const void *buf)
Appends one byte to the designated ixml_membuffer.
int ixml_membuf_append_str(ixml_membuf *m, const char *c_str)
Appends the contents of a NULL terminated string to the designated ixml_membuf.
void ixml_membuf_destroy(ixml_membuf *m)
ixml_membuf clearing routine.
Definition: ixmlmembuf.c:119