1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- #ifndef PHP_SYSLOG_H
- #define PHP_SYSLOG_H
- #include "php.h"
- #ifdef PHP_WIN32
- #include "win32/syslog.h"
- #else
- #include <php_config.h>
- #ifdef HAVE_SYSLOG_H
- #include <syslog.h>
- #endif
- #endif
- #define PHP_SYSLOG_FILTER_ALL 0
- #define PHP_SYSLOG_FILTER_NO_CTRL 1
- #define PHP_SYSLOG_FILTER_ASCII 2
- #define PHP_SYSLOG_FILTER_RAW 3
- BEGIN_EXTERN_C()
- PHPAPI void php_syslog(int, const char *format, ...);
- PHPAPI void php_openlog(const char *, int, int);
- END_EXTERN_C()
- #endif
|