summaryrefslogtreecommitdiff
path: root/main/php_syslog.h
diff options
context:
space:
mode:
authorPhilip Prindeville <philipp@redfish-solutions.com>2017-08-11 12:30:50 -0600
committerJakub Zelenka <bukka@php.net>2018-07-22 15:36:47 +0100
commit2010c02e5c3c70880a53cb0403ce696708f4d590 (patch)
tree0593b22f3470a7082b5fbd7bbba4228cd2177b4a /main/php_syslog.h
parent4a528d46f52f9d3bbb3b8f2191689d4aadca82ba (diff)
downloadphp-git-2010c02e5c3c70880a53cb0403ce696708f4d590.tar.gz
Add syslog.filter INI for filtering syslog messages
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
Diffstat (limited to 'main/php_syslog.h')
-rw-r--r--main/php_syslog.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/php_syslog.h b/main/php_syslog.h
index 28cfe171cd..d8e45acfc9 100644
--- a/main/php_syslog.h
+++ b/main/php_syslog.h
@@ -32,6 +32,11 @@
#endif
#endif
+/* Syslog filters */
+#define PHP_SYSLOG_FILTER_NONE 0
+#define PHP_SYSLOG_FILTER_NO_CTRL 1
+#define PHP_SYSLOG_FILTER_ASCII 2
+
BEGIN_EXTERN_C()
PHPAPI void php_syslog(int, const char *format, ...);
PHPAPI void php_openlog(const char *, int, int);