#include "xode.h"

Go to the source code of this file.
Functions | |
| static void | _xode_put_expatattribs (xode owner, const char **atts) |
| static void | _xode_stream_charData (xode_stream xs, const char *str, int len) |
| static void | _xode_stream_cleanup (void *arg) |
| static void | _xode_stream_endElement (xode_stream xs, const char *name) |
| static void | _xode_stream_startElement (xode_stream xs, const char *name, const char **atts) |
| int | xode_stream_eat (xode_stream xs, char *buff, int len) |
| xode_stream | xode_stream_new (xode_pool p, xode_stream_onNode f, void *arg) |
| static void _xode_put_expatattribs | ( | xode | owner, | |
| const char ** | atts | |||
| ) | [static] |
| static void _xode_stream_charData | ( | xode_stream | xs, | |
| const char * | str, | |||
| int | len | |||
| ) | [static] |
Definition at line 95 of file jabber/xstream.c.
References xode_stream_struct::node, NULL, xode_stream_struct::status, xode_insert_cdata(), and XODE_STREAM_NODE.
Referenced by xode_stream_new().
| static void _xode_stream_cleanup | ( | void * | arg | ) | [static] |
Definition at line 110 of file jabber/xstream.c.
References xode_stream_struct::node, xode_stream_struct::parser, and xode_free().
Referenced by xode_stream_new().
| static void _xode_stream_endElement | ( | xode_stream | xs, | |
| const char * | name | |||
| ) | [static] |
Definition at line 70 of file jabber/xstream.c.
References xode_stream_struct::arg, xode_stream_struct::depth, xode_stream_struct::f, xode_stream_struct::node, NULL, xode_stream_struct::status, xode_get_parent(), XODE_STREAM_CLOSE, and XODE_STREAM_NODE.
Referenced by xode_stream_new().
| static void _xode_stream_startElement | ( | xode_stream | xs, | |
| const char * | name, | |||
| const char ** | atts | |||
| ) | [static] |
Definition at line 39 of file jabber/xstream.c.
References _xode_put_expatattribs(), xode_stream_struct::arg, xode_stream_struct::depth, xode_stream_struct::f, xode_stream_struct::node, NULL, xode_stream_struct::status, xode_insert_tag(), xode_new_frompool(), xode_pool_heap(), XODE_STREAM_ERROR, XODE_STREAM_MAXDEPTH, XODE_STREAM_NODE, and XODE_STREAM_ROOT.
Referenced by xode_stream_new().
| int xode_stream_eat | ( | xode_stream | xs, | |
| char * | buff, | |||
| int | len | |||
| ) |
Definition at line 149 of file jabber/xstream.c.
| xode_stream xode_stream_new | ( | xode_pool | p, | |
| xode_stream_onNode | f, | |||
| void * | arg | |||
| ) |
Definition at line 120 of file jabber/xstream.c.
1.5.6