X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=src%2Fmy_log.h;fp=src%2Fmy_log.h;h=6269f72a40b18efdd5d71b201e0e6bd73b09f003;hb=b10d54ea2c267fce4e881b9d7e064427f6e6c34f;hp=0000000000000000000000000000000000000000;hpb=024a679ab580d1778f1f8fe61cc54c91cc3d5634;p=fprobe-ulog.git diff --git a/src/my_log.h b/src/my_log.h new file mode 100644 index 0000000..6269f72 --- /dev/null +++ b/src/my_log.h @@ -0,0 +1,24 @@ +/* + Copyright (C) Slava Astashonok + + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License. + + $Id: my_log.h,v 1.1.1.1.2.2 2004/02/02 08:06:24 sla Exp $ +*/ + +#ifndef _MY_LOG_H_ +#define _MY_LOG_H_ + +#define MY_LOG_SYSLOG 0x01 +#define MY_LOG_STDOUT 0x02 +#define MY_LOG_SYSLOG_FACILITY LOG_DAEMON +#define MY_LOG_MAX_INDEX 32 + +#include + +void my_log_open(char *, unsigned, unsigned); +void my_log_close(void); +void my_log(unsigned, const char *, ...); + +#endif