summaryrefslogtreecommitdiff
path: root/ext/rpc/php_rpc.h
diff options
context:
space:
mode:
authorHarald Radi <phanto@php.net>2003-01-16 17:49:22 +0000
committerHarald Radi <phanto@php.net>2003-01-16 17:49:22 +0000
commit7f127a22df65c4db3614e9dd2e6ef5cd90af430d (patch)
tree542ff69bdaef3ec04237e9cb15ca22edd0a5ccb5 /ext/rpc/php_rpc.h
parentdacf98c86f15a8c759410e94016e584961a8b7b1 (diff)
downloadphp-git-7f127a22df65c4db3614e9dd2e6ef5cd90af430d.tar.gz
make layers loadable as self-sustaining php extension
which registeres itself in the rpc framework.
Diffstat (limited to 'ext/rpc/php_rpc.h')
-rw-r--r--ext/rpc/php_rpc.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/ext/rpc/php_rpc.h b/ext/rpc/php_rpc.h
index 4373647a13..1e36ece531 100644
--- a/ext/rpc/php_rpc.h
+++ b/ext/rpc/php_rpc.h
@@ -34,16 +34,14 @@ 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);
+ZEND_API ZEND_FUNCTION(rpc_load);
+ZEND_API ZEND_FUNCTION(rpc_call);
+ZEND_API ZEND_FUNCTION(rpc_set);
+ZEND_API ZEND_FUNCTION(rpc_get);
+ZEND_API ZEND_FUNCTION(rpc_singleton);
+ZEND_API ZEND_FUNCTION(rpc_poolable);
ZEND_API void rpc_error(int type, const char *format, ...);
ZEND_API zend_object_value rpc_objects_new(zend_class_entry * TSRMLS_DC);
-#define phpext_rpc_ptr &rpc_module_entry
-
#endif /* PHP_RPC_H */ \ No newline at end of file