xdb_sql.cc File Reference

xdb module that handles the requests using a SQL database More...

#include <jabberd.h>
#include <sstream>
#include <list>
#include <vector>
#include <map>

Data Structures

struct  xdbsql_ns_def_struct
struct  xdbsql_struct

Defines

#define NS_XDBSQL   "http://jabberd.org/ns/xdbsql"
#define XDBSQL_MAXNS_PRIME   101

Typedefs

typedef struct
xdbsql_ns_def_struct
xdbsql_ns_def
typedef struct xdbsql_ns_def_struct _xdbsql_ns_def
typedef struct xdbsql_structxdbsql
typedef struct xdbsql_struct _xdbsql

Functions

void xdb_sql (instance i, xmlnode x)


Detailed Description

xdb module that handles the requests using a SQL database

xdb_sql is an implementation of a xdb module for jabberd14, that handles the xdb requests using an underlying SQL database. Currently only mysql is supported.


Define Documentation

#define NS_XDBSQL   "http://jabberd.org/ns/xdbsql"

the namespace of variables in templates in the configuration

#define XDBSQL_MAXNS_PRIME   101

the maximum number of defined namespaces to handle, can be overridden with the <maxns/> configuration setting


Typedef Documentation

typedef struct xdbsql_struct _xdbsql

typedef struct xdbsql_struct * xdbsql


Function Documentation

void xdb_sql ( instance  i,
xmlnode  x 
)


Generated on Wed Sep 10 01:59:48 2008 for jabberd14 by  doxygen 1.5.5