From a124372175471b4b536f9cacaee27d1e65af1a32 Mon Sep 17 00:00:00 2001 From: Joe George Date: Tue, 10 May 2016 14:21:09 -0400 Subject: Backport PHP7 support --- php/src/php7/Proxy.h | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 php/src/php7/Proxy.h (limited to 'php/src/php7/Proxy.h') 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 +#include +#include + +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 -- cgit v1.2.3