src/v2l_config.c File Reference

Config handling functions. Implementation. More...

#include <stdlib.h>
#include <strings.h>
#include <jabberd.h>
#include <v2l_config.h>
#include <v2l_conn.h>

Include dependency graph for v2l_config.c:

Go to the source code of this file.

Functions

static char * _v2l_config_get_tag (T_CONF conn_base, const char *tag)
int v2l_config_init (v2l_Config *self, T_CONF cfgroot)
void v2l_config_shutdown (v2l_Config *self)


Detailed Description

Config handling functions. Implementation.

Definition in file v2l_config.c.


Function Documentation

static char * _v2l_config_get_tag ( T_CONF  conn_base,
const char *  tag 
) [static]

Gets value for tag from config Generic (preprocessor) function for handling Jabberd14/2 config differences.

Definition at line 162 of file v2l_config.c.

Referenced by v2l_config_init().

Here is the caller graph for this function:

void v2l_config_shutdown ( v2l_Config self  ) 

Shutdown function, closes all connections and frees mempools.

Precondition:
self != NULL and self->master_conn is open.
Postcondition:
self->master_conn closed, all pools freeds.
Parameters:
self Module config.

Definition at line 148 of file v2l_config.c.

References v2l_LdapConn::ld, v2l_Config::master_conn, v2l_LdapConn::poolref, v2l_Config::poolref, and v2l_free_allconn().

Referenced by _v2l_shutdown().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Sun Oct 7 14:38:21 2007 for vCard2LDAP by  doxygen 1.5.1