flat_pool.c File Reference

#include <unistd.h>
#include "../../dprint.h"
#include "flat_pool.h"
#include "flat_id.h"

Include dependency graph for flat_pool.c:

Go to the source code of this file.

Functions

struct flat_conflat_get_connection (char *dir, char *table)
void flat_release_connection (struct flat_con *con)
int flat_rotate_logs (void)

Variables

static struct flat_conpool = 0
static int pool_pid


Function Documentation

struct flat_con* flat_get_connection ( char *  dir,
char *  table 
) [read]

void flat_release_connection ( struct flat_con con  ) 

Definition at line 99 of file flat_pool.c.

References flat_free_connection(), LM_DBG, LM_ERR, flat_con::next, and flat_con::ref.

Referenced by flat_db_close().

int flat_rotate_logs ( void   ) 

Definition at line 139 of file flat_pool.c.

References flat_reopen_connection(), and flat_con::next.

Referenced by flat_db_insert().


Variable Documentation

struct flat_con* pool = 0 [static]

Definition at line 32 of file flat_pool.c.

Referenced by ServerDirectoryHandler(), and xmpp_component_child_process().

int pool_pid [static]

Definition at line 39 of file flat_pool.c.

Referenced by flat_get_connection().


Generated on Wed May 23 06:01:03 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6