fmt.h File Reference

MI :: Format handling. More...

#include <stdarg.h>
#include <errno.h>

Include dependency graph for fmt.h:

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

Go to the source code of this file.

Defines

#define DEFAULT_MI_FMT_BUF_SIZE   2048
 size of the buffer used for printing the FMT

Functions

int mi_fmt_init (unsigned int size)
static char * mi_print_fmt (char *fmt, va_list ap, int *len)

Variables

char * mi_fmt_buf
int mi_fmt_buf_len


Detailed Description

MI :: Format handling.

Definition in file fmt.h.


Define Documentation

#define DEFAULT_MI_FMT_BUF_SIZE   2048

size of the buffer used for printing the FMT

Definition at line 43 of file fmt.h.

Referenced by mi_print_fmt().


Function Documentation

int mi_fmt_init ( unsigned int  size  ) 

Definition at line 43 of file fmt.c.

References LM_ERR, mi_fmt_buf, mi_fmt_buf_len, NULL, and pkg_malloc.

Referenced by mi_print_fmt().

static char* mi_print_fmt ( char *  fmt,
va_list  ap,
int *  len 
) [inline, static]


Variable Documentation

char* mi_fmt_buf

Definition at line 39 of file fmt.c.

Referenced by mi_fmt_init(), and mi_print_fmt().

Definition at line 40 of file fmt.c.

Referenced by mi_fmt_init(), and mi_print_fmt().


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