summaryrefslogtreecommitdiff
path: root/ext/standard/php_ext_syslog.h
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-05-28 16:19:45 +0000
committerSascha Schumann <sas@php.net>2000-05-28 16:19:45 +0000
commit9cd4929417a944a4600875db7018159900bee7b3 (patch)
tree21effb7931a3fb9b2e08641dccef03f9883f1c49 /ext/standard/php_ext_syslog.h
parent1e949e6caa61f6a0c33ae5241056007226108021 (diff)
downloadphp-git-9cd4929417a944a4600875db7018159900bee7b3.tar.gz
Make syslog module thread-safe.
Diffstat (limited to 'ext/standard/php_ext_syslog.h')
-rw-r--r--ext/standard/php_ext_syslog.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/ext/standard/php_ext_syslog.h b/ext/standard/php_ext_syslog.h
new file mode 100644
index 0000000000..bf905fb5fc
--- /dev/null
+++ b/ext/standard/php_ext_syslog.h
@@ -0,0 +1,48 @@
+/*
+ +----------------------------------------------------------------------+
+ | 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. |
+ +----------------------------------------------------------------------+
+ | Authors: Stig Sæther Bakken <ssb@fast.no> |
+ +----------------------------------------------------------------------+
+ */
+
+#ifndef _PHP_EXT_SYSLOG_H
+#define _PHP_EXT_SYSLOG_H
+
+#ifdef HAVE_SYSLOG_H
+
+#include "php_syslog.h"
+
+extern PHP_MINIT_FUNCTION(syslog);
+extern PHP_RINIT_FUNCTION(syslog);
+extern PHP_RSHUTDOWN_FUNCTION(syslog);
+
+PHP_FUNCTION(openlog);
+PHP_FUNCTION(syslog);
+PHP_FUNCTION(closelog);
+PHP_FUNCTION(define_syslog_variables);
+
+#endif
+
+#endif /* _PHP_EXT_SYSLOG_H */