summaryrefslogtreecommitdiff
path: root/main/php_syslog.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/php_syslog.h')
-rw-r--r--main/php_syslog.h28
1 files changed, 10 insertions, 18 deletions
diff --git a/main/php_syslog.h b/main/php_syslog.h
index 673f14cec2..dee0e5aaa3 100644
--- a/main/php_syslog.h
+++ b/main/php_syslog.h
@@ -16,11 +16,11 @@
+----------------------------------------------------------------------+
*/
-/* $Id$ */
-
#ifndef PHP_SYSLOG_H
#define PHP_SYSLOG_H
+#include "php.h"
+
#ifdef PHP_WIN32
#include "win32/syslog.h"
#else
@@ -30,26 +30,18 @@
#endif
#endif
-/*
- * The SCO OpenServer 5 Development System (not the UDK)
- * defines syslog to std_syslog.
- */
-
-#ifdef syslog
-
-#ifdef HAVE_STD_SYSLOG
-#define php_syslog std_syslog
-#endif
-
-#undef syslog
+/* Syslog filters */
+#define PHP_SYSLOG_FILTER_ALL 0
+#define PHP_SYSLOG_FILTER_NO_CTRL 1
+#define PHP_SYSLOG_FILTER_ASCII 2
-#endif
+BEGIN_EXTERN_C()
+PHPAPI void php_syslog(int, const char *format, ...);
+PHPAPI void php_openlog(const char *, int, int);
+END_EXTERN_C()
-#ifndef php_syslog
-#define php_syslog syslog
#endif
-#endif
/*
* Local variables:
* tab-width: 4