#include "xode.h"#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>

Go to the source code of this file.
Functions | |
| static void | _xode_expat_charData (void *userdata, const char *s, int len) |
| static void | _xode_expat_endElement (void *userdata, const char *name) |
| static void | _xode_expat_startElement (void *userdata, const char *name, const char **atts) |
| static void | _xode_put_expatattribs (xode current, const char **atts) |
| xode | xode_from_file (char *file) |
| xode | xode_from_str (char *str, int len) |
| xode | xode_from_strx (char *str, int len, int *err, int *pos) |
| int | xode_to_file (char *file, xode node) |
Definition in file xmpp/xode_from.c.
| static void _xode_expat_charData | ( | void * | userdata, | |
| const char * | s, | |||
| int | len | |||
| ) | [static] |
| static void _xode_expat_endElement | ( | void * | userdata, | |
| const char * | name | |||
| ) | [static] |
Definition at line 64 of file xmpp/xode_from.c.
References xode_struct::complete, NULL, and xode_get_parent().
| static void _xode_expat_startElement | ( | void * | userdata, | |
| const char * | name, | |||
| const char ** | atts | |||
| ) | [static] |
Definition at line 44 of file xmpp/xode_from.c.
References _xode_put_expatattribs(), NULL, xode_insert_tag(), and xode_new().
| static void _xode_put_expatattribs | ( | xode | current, | |
| const char ** | atts | |||
| ) | [static] |
| xode xode_from_file | ( | char * | file | ) |
Definition at line 146 of file xmpp/xode_from.c.
References _xode_expat_charData(), _xode_expat_endElement(), _xode_expat_startElement(), buf, len, NULL, snprintf, and xode_free().
| xode xode_from_str | ( | char * | str, | |
| int | len | |||
| ) |
Definition at line 86 of file xmpp/xode_from.c.
References _xode_expat_charData(), _xode_expat_endElement(), _xode_expat_startElement(), NULL, and xode_free().
| xode xode_from_strx | ( | char * | str, | |
| int | len, | |||
| int * | err, | |||
| int * | pos | |||
| ) |
Definition at line 116 of file xmpp/xode_from.c.
References _xode_expat_charData(), _xode_expat_endElement(), _xode_expat_startElement(), and NULL.
Referenced by xj_jcon_user_auth(), and xj_manage_jab().
| int xode_to_file | ( | char * | file, | |
| xode | node | |||
| ) |
1.5.6