cpl_nonsig.h File Reference

#include <unistd.h>
#include "../../str.h"
#include "cpl_env.h"

Include dependency graph for cpl_nonsig.h:

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

Go to the source code of this file.

Data Structures

struct  cpl_cmd

Defines

#define CPL_LOG_CMD   1
#define CPL_MAIL_CMD   2
#define MAX_LOG_DIR_SIZE   256

Functions

void cpl_aux_process (int cmd_out, char *log_dir)
static void write_cpl_cmd (unsigned int code, str *s1, str *s2, str *s3)


Define Documentation

#define CPL_LOG_CMD   1

Definition at line 43 of file cpl_nonsig.h.

Referenced by cpl_aux_process(), and run_log().

#define CPL_MAIL_CMD   2

Definition at line 44 of file cpl_nonsig.h.

Referenced by cpl_aux_process(), and run_mail().

#define MAX_LOG_DIR_SIZE   256

Definition at line 46 of file cpl_nonsig.h.

Referenced by cpl_init().


Function Documentation

void cpl_aux_process ( int  cmd_out,
char *  log_dir 
)

Definition at line 223 of file cpl_nonsig.c.

References cpl_cmd::code, CPL_LOG_CMD, CPL_MAIL_CMD, file, file_ptr, len, LM_ERR, send_mail(), and write_log().

Referenced by cpl_process().

static void write_cpl_cmd ( unsigned int  code,
str s1,
str s2,
str s3 
) [inline, static]

Definition at line 52 of file cpl_nonsig.h.

References cpl_enviroment::cmd_pipe, cpl_cmd::code, cpl_env, LM_ERR, cpl_cmd::s1, cpl_cmd::s2, and cpl_cmd::s3.

Referenced by run_log(), and run_mail().


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