1999-04-17 00:37:12 +00:00
|
|
|
|
/*
|
|
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
|
| PHP HTML Embedded Scripting Language Version 3.0 |
|
|
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
|
| Copyright (c) 1997,1998 PHP Development Team (See Credits file) |
|
|
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
|
| This program is free software; you can redistribute it and/or modify |
|
|
|
|
|
| it under the terms of one of the following licenses: |
|
|
|
|
|
| |
|
|
|
|
|
| A) the GNU General Public License as published by the Free Software |
|
|
|
|
|
| Foundation; either version 2 of the License, or (at your option) |
|
|
|
|
|
| any later version. |
|
|
|
|
|
| |
|
|
|
|
|
| B) the PHP License as published by the PHP Development Team and |
|
|
|
|
|
| included in the distribution in the file: LICENSE |
|
|
|
|
|
| |
|
|
|
|
|
| This program is distributed in the hope that it will be useful, |
|
|
|
|
|
| but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
|
|
|
|
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
|
|
|
|
| GNU General Public License for more details. |
|
|
|
|
|
| |
|
|
|
|
|
| You should have received a copy of both licenses referred to here. |
|
|
|
|
|
| If you did not, or have any questions about PHP licensing, please |
|
|
|
|
|
| contact core@php.net. |
|
|
|
|
|
+----------------------------------------------------------------------+
|
2000-03-06 20:37:11 +00:00
|
|
|
|
| Authors: Stig S<EFBFBD>ther Bakken <ssb@fast.no> |
|
1999-04-17 00:37:12 +00:00
|
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
|
*/
|
1999-05-14 18:25:16 +00:00
|
|
|
|
|
|
|
|
|
#ifndef _PHP_SYSLOG_H
|
|
|
|
|
#define _PHP_SYSLOG_H
|
|
|
|
|
|
1999-04-17 00:37:12 +00:00
|
|
|
|
#if HAVE_SYSLOG_H
|
|
|
|
|
|
2000-05-07 00:10:32 +00:00
|
|
|
|
#ifdef PHP_WIN32
|
|
|
|
|
#include "win32/syslog.h"
|
|
|
|
|
#else
|
|
|
|
|
#include <syslog.h>
|
|
|
|
|
#endif
|
|
|
|
|
|
1999-07-26 20:09:08 +00:00
|
|
|
|
extern PHP_MINIT_FUNCTION(syslog);
|
|
|
|
|
extern PHP_RINIT_FUNCTION(syslog);
|
|
|
|
|
extern PHP_RSHUTDOWN_FUNCTION(syslog);
|
|
|
|
|
|
1999-05-16 11:19:26 +00:00
|
|
|
|
PHP_FUNCTION(openlog);
|
|
|
|
|
PHP_FUNCTION(syslog);
|
|
|
|
|
PHP_FUNCTION(closelog);
|
|
|
|
|
PHP_FUNCTION(define_syslog_variables);
|
1999-04-17 00:37:12 +00:00
|
|
|
|
|
|
|
|
|
#endif
|
1999-05-14 18:25:16 +00:00
|
|
|
|
|
|
|
|
|
#endif /* _PHP_SYSLOG_H */
|