/usr/include/liblogthread.h is in liblogthread-dev 3.1.8-1.2+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #ifndef LOGTHREAD_DOT_H
#define LOGTHREAD_DOT_H
#include <syslog.h>
#define LOG_MODE_OUTPUT_FILE 1
#define LOG_MODE_OUTPUT_SYSLOG 2
#define LOG_MODE_OUTPUT_STDERR 4
int logt_init(const char *name, int mode, int syslog_facility, int syslog_priority,
int logfile_priority, const char *logfile);
void logt_conf(const char *name, int mode, int syslog_facility, int syslog_priority,
int logfile_priority, const char *logfile);
void logt_exit(void);
int logt_reinit(void);
void logt_print(int level, const char *fmt, ...)
__attribute__((format(printf, 2, 3)));;
#endif
|