summaryrefslogtreecommitdiff
path: root/php/src/php5/Proxy.h
diff options
context:
space:
mode:
authorJoe George <joe@zeroc.com>2016-02-12 11:10:28 -0500
committerJoe George <joe@zeroc.com>2016-02-12 11:10:28 -0500
commit70fcaab8e9566edd7d749b1f6e3147e0efdbe94d (patch)
tree6f043cce81cf206a9ac7f1ff2fc4349a80aa23c3 /php/src/php5/Proxy.h
parentminor fixes to stream classes; restoring test/Ice/stream (diff)
downloadice-70fcaab8e9566edd7d749b1f6e3147e0efdbe94d.tar.bz2
ice-70fcaab8e9566edd7d749b1f6e3147e0efdbe94d.tar.xz
ice-70fcaab8e9566edd7d749b1f6e3147e0efdbe94d.zip
ICE-6973 - Add support for PHP 7
Diffstat (limited to 'php/src/php5/Proxy.h')
-rw-r--r--php/src/php5/Proxy.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/php/src/php5/Proxy.h b/php/src/php5/Proxy.h
new file mode 100644
index 00000000000..40f3b53faae
--- /dev/null
+++ b/php/src/php5/Proxy.h
@@ -0,0 +1,34 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2015 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_PROXY_H
+#define ICEPHP_PROXY_H
+
+#include <Config.h>
+#include <Communicator.h>
+#include <Types.h>
+
+namespace IcePHP
+{
+
+bool proxyInit(TSRMLS_D);
+
+bool createProxy(zval*, const Ice::ObjectPrx&, const CommunicatorInfoPtr& TSRMLS_DC);
+bool createProxy(zval*, const Ice::ObjectPrx&, const ClassInfoPtr&, const CommunicatorInfoPtr& TSRMLS_DC);
+bool fetchProxy(zval*, Ice::ObjectPrx&, ClassInfoPtr& TSRMLS_DC);
+bool fetchProxy(zval*, Ice::ObjectPrx&, ClassInfoPtr&, CommunicatorInfoPtr& TSRMLS_DC);
+
+//
+// Class entry.
+//
+extern zend_class_entry* proxyClassEntry;
+
+} // End of namespace IcePHP
+
+#endif