7#ifndef __NO_DUP_LOG_HEADER_GUARD__
8#define __NO_DUP_LOG_HEADER_GUARD__
34#define n_nodup_log( __LEVEL__ , ... ) \
37 _n_nodup_log( __LEVEL__ , __FILE__ , __func__ , __LINE__ , __VA_ARGS__ ); \
41#define n_nodup_log_indexed( __LEVEL__ , __PREF__ , ... ) \
44 _n_nodup_log_indexed( __LEVEL__ , __PREF__ , __FILE__ , __func__ , __LINE__ , __VA_ARGS__ ); \
48void _n_nodup_log(
int LEVEL,
const char *file,
const char *func,
int line,
const char *format, ... );
50void _n_nodup_log_indexed(
int LEVEL,
const char *prefix,
const char *file,
const char *func,
int line,
const char *format, ... );
int dump_nodup_log(char *file)
Dump the duplicate error log hash table in a file.
int close_nodup_log()
Empty nodup logtable and close the no duplicate logging session.
void _n_nodup_log(int LEVEL, const char *file, const char *func, int line, const char *format,...)
Logging function.
int empty_nodup_table()
Empty the nodup internal table.
void _n_nodup_log_indexed(int LEVEL, const char *prefix, const char *file, const char *func, int line, const char *format,...)
Logging function.
int init_nodup_log(int max)
initialize the no duplicate logging system
Common headers and low-level hugly functions & define.
Hash functions and table.
List structures and definitions.
N_STR and string function declaration.