Functions | Variables
debug.c File Reference
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include "debug.h"
Include dependency graph for debug.c:

Go to the source code of this file.

Functions

void mc_abort (const char *msg,...)
 
void mc_debug (const char *msg,...)
 
void mc_error (const char *msg,...)
 
int mc_get_debug ()
 
void mc_info (const char *msg,...)
 
void mc_set_debug (int debug)
 
void mc_set_syslog (int syslog)
 

Variables

static int _debug = 0
 
static int _syslog = 0
 

Function Documentation

void mc_abort ( const char *  msg,
  ... 
)

Definition at line 44 of file debug.c.

void mc_debug ( const char *  msg,
  ... 
)

Definition at line 58 of file debug.c.

void mc_error ( const char *  msg,
  ... 
)

Definition at line 72 of file debug.c.

int mc_get_debug ( void  )

Definition at line 37 of file debug.c.

void mc_info ( const char *  msg,
  ... 
)

Definition at line 84 of file debug.c.

void mc_set_debug ( int  debug)

Definition at line 36 of file debug.c.

void mc_set_syslog ( int  syslog)

Definition at line 39 of file debug.c.

Variable Documentation

int _debug = 0
static

Definition at line 34 of file debug.c.

int _syslog = 0
static

Definition at line 33 of file debug.c.



csm
Author(s): Andrea Censi
autogenerated on Tue May 11 2021 02:18:23