#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_struct * | xdbsql |
| typedef struct xdbsql_struct | _xdbsql |
Functions | |
| void | xdb_sql (instance i, xmlnode x) |
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 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 struct xdbsql_struct _xdbsql |
| typedef struct xdbsql_ns_def_struct _xdbsql_ns_def |
| typedef struct xdbsql_struct * xdbsql |
| typedef struct xdbsql_ns_def_struct * xdbsql_ns_def |
init the xdb_sql module, called by the jabberd module loader
| i | jabberd's data about our instance | |
| x | the <load/> xmlnode that instructed the moduleloader to load us |
References instance_struct::id, j_strcmp(), jid_new(), log_debug2, log_error, LOGT_EXECFLOW, LOGT_INIT, xdbsql_struct::namespace_prefixes, NS_JABBERD_CONFIG_XDBSQL, o_DELIVER, xdbsql_struct::onconnect, instance_struct::p, pool_cleanup(), pstrdup(), register_phandler(), xdbsql_struct::std_namespace_prefixes, xdb_cache(), xdb_get(), xhash_new(), xhash_put(), xmlnode_free(), xmlnode_get_attrib_ns(), xmlnode_get_data(), xmlnode_get_list_item(), xmlnode_get_tags(), xmlnode_pool(), and ZONE.
1.5.5