aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authoryaworsky <yaworsky>2005-09-16 08:36:39 +0000
committeryaworsky <yaworsky>2005-09-16 08:36:39 +0000
commitcc936dc1a09d275915f82733611d7c0146846788 (patch)
tree8facf6641a8fbf8cf7f7d41a2004b39116872350 /include
parenta2c534419863b2c09fd122d8d1ef6769398f7cf0 (diff)
downloadsyslog-win32-cc936dc1a09d275915f82733611d7c0146846788.tar.gz
syslog-win32-cc936dc1a09d275915f82733611d7c0146846788.tar.xz
syslog-win32-cc936dc1a09d275915f82733611d7c0146846788.zip
Modified for native win32.
Diffstat (limited to 'include')
-rw-r--r--include/syslog.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/syslog.h b/include/syslog.h
index 0883455..2dbf821 100644
--- a/include/syslog.h
+++ b/include/syslog.h
@@ -182,6 +182,14 @@ extern void syslog (int __pri, char *__fmt, ...);
/* Generate a log message using FMT and using arguments pointed to by AP. */
extern void vsyslog (int __pri, char *__fmt, va_list __ap);
+/* windows-specific;
+ set directory from where syslog.host must be read;
+ this file contains a single line with hostname and port of syslog daemon;
+ default is localhost:514
+*/
+extern const char* set_syslog_conf_dir( const char* dir );
+
+
#ifdef __cplusplus
}
#endif