#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) |
Definition in file xmpp/xstream.c.
| 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 100 of file xmpp/xstream.c.
References xode_stream_struct::node, NULL, xode_stream_struct::status, xode_insert_cdata(), and XODE_STREAM_NODE.
| static void _xode_stream_cleanup | ( | void * | arg | ) | [static] |
Definition at line 115 of file xmpp/xstream.c.
References xode_stream_struct::node, xode_stream_struct::parser, and xode_free().
| static void _xode_stream_endElement | ( | xode_stream | xs, | |
| const char * | name | |||
| ) | [static] |
Definition at line 75 of file xmpp/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.
| static void _xode_stream_startElement | ( | xode_stream | xs, | |
| const char * | name, | |||
| const char ** | atts | |||
| ) | [static] |
Definition at line 44 of file xmpp/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.
| int xode_stream_eat | ( | xode_stream | xs, | |
| char * | buff, | |||
| int | len | |||
| ) |
Definition at line 154 of file xmpp/xstream.c.
References xode_stream_struct::arg, xode_stream_struct::cdata_len, xode_stream_struct::f, xode_stream_struct::node, NULL, xode_stream_struct::parser, xode_stream_struct::status, xode_get_pool(), xode_insert_cdata(), xode_new(), xode_pool_size(), XODE_STREAM_ERROR, and XODE_STREAM_MAXNODE.
Referenced by xmpp_component_child_process(), and xmpp_server_child_process().
| xode_stream xode_stream_new | ( | xode_pool | p, | |
| xode_stream_onNode | f, | |||
| void * | arg | |||
| ) |
Definition at line 125 of file xmpp/xstream.c.
References _xode_stream_charData(), _xode_stream_cleanup(), _xode_stream_endElement(), _xode_stream_startElement(), xode_stream_struct::arg, xode_stream_struct::f, NULL, xode_stream_struct::p, xode_stream_struct::parser, xode_pool_cleanup(), and xode_pool_malloco().
Referenced by conn_new(), and xmpp_component_child_process().
1.5.6