#include <stdlib.h>
#include <jabberd.h>
#include <v2l_config.h>
#include <v2l_conn.h>
#include <v2l_vcard.h>
Include dependency graph for v2l_main.c:

Go to the source code of this file.
Defines | |
| #define | LOG_ERROR_MEM log_error (ZONE, "Unable to allocate memory") |
Functions | |
| static result | _v2l_packets_handler (instance i, dpacket p, void *args) |
| static int | _v2l_check_attr_value (xmlnode node, char *attr_name, char *attr_value) |
| static void | _v2l_shutdown (void *arg) |
| void | xdb_v2l (instance i, xmlnode x) |
Definition in file v2l_main.c.
| static result _v2l_packets_handler | ( | instance | i, | |
| dpacket | p, | |||
| void * | args | |||
| ) | [static] |
Main callback. Handle xdb packets See jabberd14 API docs for details.
Definition at line 118 of file v2l_main.c.
References _v2l_check_attr_value(), LOG_ERROR_MEM, v2l_get_conn(), v2l_vcard_get(), and v2l_vcard_set().
Referenced by xdb_v2l().
Here is the call graph for this function:

Here is the caller graph for this function:

| static void _v2l_shutdown | ( | void * | arg | ) | [static] |
shutdown and cleanup callback See jabberd14 API docs for details.
Definition at line 109 of file v2l_main.c.
References v2l_config_shutdown().
Referenced by xdb_v2l().
Here is the call graph for this function:

Here is the caller graph for this function:

| void xdb_v2l | ( | instance | i, | |
| xmlnode | x | |||
| ) |
Module entry point. See jabberd14 API docs for details.
Definition at line 71 of file v2l_main.c.
References _v2l_packets_handler(), _v2l_shutdown(), and v2l_config_init().
Here is the call graph for this function:

1.5.1