diff options
author | Mark Spruiell <mes@zeroc.com> | 2006-11-09 18:38:47 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2006-11-09 18:38:47 +0000 |
commit | 9fc8c2106fdb8e918eefd8614aef6dd77a9c29e3 (patch) | |
tree | 3942117e687cbe34477b9d2f48d82fe098cd972b /php/src/IcePHP/Communicator.h | |
parent | clean up; align with C++; bug fix (diff) | |
download | ice-9fc8c2106fdb8e918eefd8614aef6dd77a9c29e3.tar.bz2 ice-9fc8c2106fdb8e918eefd8614aef6dd77a9c29e3.tar.xz ice-9fc8c2106fdb8e918eefd8614aef6dd77a9c29e3.zip |
Reorganizing source code. Changing build process to use Makefiles instead
of configure. Desupporting all platforms except Linux and Windows.
Diffstat (limited to 'php/src/IcePHP/Communicator.h')
-rw-r--r-- | php/src/IcePHP/Communicator.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/php/src/IcePHP/Communicator.h b/php/src/IcePHP/Communicator.h new file mode 100644 index 00000000000..4e5862225eb --- /dev/null +++ b/php/src/IcePHP/Communicator.h @@ -0,0 +1,53 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2006 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 ICE_PHP_COMMUNICATOR_H +#define ICE_PHP_COMMUNICATOR_H + +#include <Config.h> + +// +// Ice_Communicator class methods. +// +extern "C" +{ +ZEND_FUNCTION(Ice_Communicator___construct); +ZEND_FUNCTION(Ice_Communicator_getProperty); +ZEND_FUNCTION(Ice_Communicator_stringToProxy); +ZEND_FUNCTION(Ice_Communicator_proxyToString); +ZEND_FUNCTION(Ice_Communicator_stringToIdentity); +ZEND_FUNCTION(Ice_Communicator_identityToString); +ZEND_FUNCTION(Ice_Communicator_addObjectFactory); +ZEND_FUNCTION(Ice_Communicator_findObjectFactory); +ZEND_FUNCTION(Ice_Communicator_flushBatchRequests); +} + +#define ICE_PHP_COMMUNICATOR_FUNCTIONS \ + ZEND_FE(Ice_Communicator___construct, NULL) \ + ZEND_FE(Ice_Communicator_getProperty, NULL) \ + ZEND_FE(Ice_Communicator_stringToProxy, NULL) \ + ZEND_FE(Ice_Communicator_proxyToString, NULL) \ + ZEND_FE(Ice_Communicator_stringToIdentity, NULL) \ + ZEND_FE(Ice_Communicator_identityToString, NULL) \ + ZEND_FE(Ice_Communicator_addObjectFactory, NULL) \ + ZEND_FE(Ice_Communicator_findObjectFactory, NULL) \ + ZEND_FE(Ice_Communicator_flushBatchRequests, NULL) + +namespace IcePHP +{ + +bool communicatorInit(TSRMLS_D); + +bool createCommunicator(TSRMLS_D); +Ice::CommunicatorPtr getCommunicator(TSRMLS_D); +zval* getCommunicatorZval(TSRMLS_D); + +} // End of namespace IcePHP + +#endif |