mirror of
https://github.com/php/php-src.git
synced 2024-10-15 05:22:48 +00:00
34 lines
632 B
C
34 lines
632 B
C
#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
|
|
|
|
ZEND_MINIT_FUNCTION(rpc);
|
|
ZEND_MSHUTDOWN_FUNCTION(rpc);
|
|
ZEND_RINIT_FUNCTION(rpc);
|
|
ZEND_RSHUTDOWN_FUNCTION(rpc);
|
|
ZEND_MINFO_FUNCTION(rpc);
|
|
|
|
ZEND_FUNCTION(rpc_load);
|
|
ZEND_FUNCTION(rpc_call);
|
|
ZEND_FUNCTION(rpc_set);
|
|
ZEND_FUNCTION(rpc_get);
|
|
ZEND_FUNCTION(rpc_singleton);
|
|
ZEND_FUNCTION(rpc_poolable);
|
|
|
|
#define phpext_rpc_ptr &rpc_module_entry
|
|
|
|
#endif /* PHP_RPC_H */ |