2002-03-15 00:00:34 +00:00
|
|
|
#ifndef PHP_RPC_H
|
|
|
|
#define PHP_RPC_H
|
|
|
|
|
|
|
|
#include "zend.h"
|
|
|
|
|
|
|
|
extern zend_module_entry rpc_module_entry;
|
|
|
|
#define phpext_rpc_ptr &rpc_module_entry
|
|
|
|
|
|
|
|
#ifdef PHP_WIN32
|
|
|
|
#define PHP_RPC_API __declspec(dllexport)
|
|
|
|
#else
|
|
|
|
#define PHP_RPC_API
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef ZTS
|
|
|
|
#include "TSRM.h"
|
|
|
|
#endif
|
|
|
|
|
2002-03-16 16:15:34 +00:00
|
|
|
ZEND_MINIT_FUNCTION(rpc);
|
|
|
|
ZEND_MSHUTDOWN_FUNCTION(rpc);
|
2002-06-09 14:51:41 +00:00
|
|
|
ZEND_RINIT_FUNCTION(rpc);
|
|
|
|
ZEND_RSHUTDOWN_FUNCTION(rpc);
|
2002-03-16 16:15:34 +00:00
|
|
|
ZEND_MINFO_FUNCTION(rpc);
|
2002-03-15 00:00:34 +00:00
|
|
|
|
2002-03-15 23:28:10 +00:00
|
|
|
ZEND_FUNCTION(rpc_load);
|
|
|
|
ZEND_FUNCTION(rpc_call);
|
|
|
|
ZEND_FUNCTION(rpc_set);
|
|
|
|
ZEND_FUNCTION(rpc_get);
|
2002-06-09 14:51:41 +00:00
|
|
|
ZEND_FUNCTION(rpc_singleton);
|
|
|
|
ZEND_FUNCTION(rpc_poolable);
|
2002-03-15 23:28:10 +00:00
|
|
|
|
|
|
|
#define phpext_rpc_ptr &rpc_module_entry
|
2002-03-15 00:00:34 +00:00
|
|
|
|
|
|
|
#endif /* PHP_RPC_H */
|