xmpp/xode_from.c File Reference

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

Include dependency graph for xmpp/xode_from.c:

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)


Detailed Description

Definition in file xmpp/xode_from.c.


Function Documentation

static void _xode_expat_charData ( void *  userdata,
const char *  s,
int  len 
) [static]

Definition at line 77 of file xmpp/xode_from.c.

References xode_insert_cdata().

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]

Definition at line 33 of file xmpp/xode_from.c.

References NULL, and xode_put_attrib().

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 at line 201 of file xmpp/xode_from.c.

References NULL, snprintf, and xode_to_str().


Generated on Fri May 25 00:00:45 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6