cpl_log.c File Reference

#include <stdlib.h>
#include <string.h>
#include "cpl_log.h"
#include "../../mem/mem.h"
#include "../../dprint.h"

Include dependency graph for cpl_log.c:

Go to the source code of this file.

Functions

void append_log (int nr,...)
void compile_logs (str *log)
void reset_logs (void)

Variables

static str cpl_logs [MAX_LOG_NR]
static int nr_logs


Function Documentation

void append_log ( int  nr,
  ... 
)

Definition at line 47 of file cpl_log.c.

References _str::len, LM_ERR, MAX_LOG_NR, nr_logs, and _str::s.

Referenced by encodeCPL().

void compile_logs ( str log  ) 

Definition at line 70 of file cpl_log.c.

References len, _str::len, LM_ERR, nr_logs, pkg_malloc, s, and _str::s.

Referenced by encodeCPL().

void reset_logs ( void   ) 

Definition at line 40 of file cpl_log.c.

References nr_logs.

Referenced by encodeCPL().


Variable Documentation

str cpl_logs[MAX_LOG_NR] [static]

Definition at line 36 of file cpl_log.c.

int nr_logs [static]

Definition at line 37 of file cpl_log.c.

Referenced by append_log(), compile_logs(), and reset_logs().


Generated on Mon May 21 18:00:38 2012 for Kamailio - The Open Source SIP Server by  doxygen 1.5.6