summaryrefslogtreecommitdiffstats
path: root/logs.h
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2014-08-31 08:49:53 +0900
committerFreeArtMan <dos21h@gmail.com>2014-08-31 08:49:53 +0900
commitf9a751917d0dd885ba7ae6047ccf7369512ee5df (patch)
treef0d40267bbef0db583ddfe9257d28dbb75eee331 /logs.h
parent56bcbaf9db3fc08b45b1065868714c58bd0d381a (diff)
downloadmicrobbs-f9a751917d0dd885ba7ae6047ccf7369512ee5df.tar.gz
microbbs-f9a751917d0dd885ba7ae6047ccf7369512ee5df.zip
Case insensitive, syslog support
Diffstat (limited to 'logs.h')
-rw-r--r--logs.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/logs.h b/logs.h
new file mode 100644
index 0000000..f86c0a3
--- /dev/null
+++ b/logs.h
@@ -0,0 +1,12 @@
+#ifndef __MICROBBS_LOGS_H
+#define __MICROBBS_LOGS_H
+
+#include <stdlib.h>
+#include <stdio.h>
+#include <syslog.h>
+
+#define BBS_DEFAULT_SYSLOG "microbbs"
+
+int bbs_log( const char* );
+
+#endif