summaryrefslogtreecommitdiff
path: root/php/src/php7/Proxy.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/php7/Proxy.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/php7/Proxy.h')
-rw-r--r--php/src/php7/Proxy.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/php/src/php7/Proxy.h b/php/src/php7/Proxy.h
new file mode 100644
index 00000000000..771e999ea88
--- /dev/null
+++ b/php/src/php7/Proxy.h
@@ -0,0 +1,34 @@
+// **********************************************************************
+//
+// 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_PROXY_H
+#define ICEPHP_PROXY_H
+
+#include <Config.h>
+#include <Communicator.h>
+#include <Types.h>
+
+namespace IcePHP
+{
+
+bool proxyInit(void);
+
+bool createProxy(zval*, const Ice::ObjectPrx&, const CommunicatorInfoPtr&);
+bool createProxy(zval*, const Ice::ObjectPrx&, const ClassInfoPtr&, const CommunicatorInfoPtr&);
+bool fetchProxy(zval*, Ice::ObjectPrx&, ClassInfoPtr&);
+bool fetchProxy(zval*, Ice::ObjectPrx&, ClassInfoPtr&, CommunicatorInfoPtr&);
+
+//
+// Class entry.
+//
+extern zend_class_entry* proxyClassEntry;
+
+} // End of namespace IcePHP
+
+#endif