summaryrefslogtreecommitdiff
path: root/php/src/php5/Logger.h
diff options
context:
space:
mode:
authorJoe George <joe@zeroc.com>2016-05-10 14:21:09 -0400
committerJoe George <joe@zeroc.com>2016-05-10 15:03:01 -0400
commita124372175471b4b536f9cacaee27d1e65af1a32 (patch)
tree76abb60a52b47110defdec1dd4e85f639ee6a65c /php/src/php5/Logger.h
parentFixed issue with IE where accessing the stack from Exception.toString leads t... (diff)
downloadice-a124372175471b4b536f9cacaee27d1e65af1a32.tar.bz2
ice-a124372175471b4b536f9cacaee27d1e65af1a32.tar.xz
ice-a124372175471b4b536f9cacaee27d1e65af1a32.zip
Backport PHP7 support
Diffstat (limited to 'php/src/php5/Logger.h')
-rw-r--r--php/src/php5/Logger.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/php/src/php5/Logger.h b/php/src/php5/Logger.h
new file mode 100644
index 00000000000..c3ab3c531c0
--- /dev/null
+++ b/php/src/php5/Logger.h
@@ -0,0 +1,30 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2016 ZeroC, Inc. All rights reserved.
+//
+// This copy of Ice is licensed to you under the terms described in the
+// ICE_LICENSE file included in this distribution.
+//
+// **********************************************************************
+
+#ifndef ICEPHP_LOGGER_H
+#define ICEPHP_LOGGER_H
+
+#include <Config.h>
+
+namespace IcePHP
+{
+
+bool loggerInit(TSRMLS_D);
+
+bool createLogger(zval*, const Ice::LoggerPtr& TSRMLS_DC);
+bool fetchLogger(zval*, Ice::LoggerPtr& TSRMLS_DC);
+
+//
+// Class entry.
+//
+extern zend_class_entry* loggerClassEntry;
+
+} // End of namespace IcePHP
+
+#endif