#include <sys/param.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <assert.h>
#include "logging.h"
#include "csm_all.h"
Go to the source code of this file.
#define MAX_CONTEXTS 1000 |
#define XTERM_COLOR_RED "\e[1;37;41m" |
#define XTERM_COLOR_RESET "\e[0m" |
#define XTERM_DEBUG "\e[1;35;40m" |
void check_for_xterm_color |
( |
| ) |
|
void sm_debug |
( |
const char * |
msg, |
|
|
|
... |
|
) |
| |
void sm_debug_write |
( |
int |
flag | ) |
|
void sm_error |
( |
const char * |
msg, |
|
|
|
... |
|
) |
| |
void sm_info |
( |
const char * |
msg, |
|
|
|
... |
|
) |
| |
void sm_log_push |
( |
const char * |
cname | ) |
|
void sm_set_program_name |
( |
const char * |
name | ) |
|
void sm_write_context |
( |
| ) |
|
int checked_for_xterm_color = 0 |
int sm_debug_write_flag = 0 |
const char* sm_program_name = 0 |
char sm_program_name_temp[256] |
int xterm_color_available = 0 |