flat_con.h File Reference

#include <stdio.h>
#include <time.h>
#include "flat_id.h"

Include dependency graph for flat_con.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  flat_con

Defines

#define CON_FILE(db_con)   (((struct flat_con*)((db_con)->tail))->file)

Functions

void flat_free_connection (struct flat_con *con)
struct flat_conflat_new_connection (struct flat_id *id)
int flat_reopen_connection (struct flat_con *con)


Define Documentation

#define CON_FILE ( db_con   )     (((struct flat_con*)((db_con)->tail))->file)

Definition at line 43 of file flat_con.h.

Referenced by flat_db_insert().


Function Documentation

void flat_free_connection ( struct flat_con con  ) 

Definition at line 136 of file flat_con.c.

References flat_con::file, free_flat_id(), flat_con::id, and pkg_free.

Referenced by flat_release_connection().

struct flat_con* flat_new_connection ( struct flat_id id  )  [read]

Definition at line 93 of file flat_con.c.

References flat_con::file, get_name(), flat_con::id, LM_ERR, pkg_free, pkg_malloc, and flat_con::ref.

Referenced by flat_get_connection().

int flat_reopen_connection ( struct flat_con con  ) 

Definition at line 150 of file flat_con.c.

References flat_con::file, get_name(), flat_con::id, LM_ERR, and pkg_free.

Referenced by flat_rotate_logs().


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