diff options
Diffstat (limited to 'ext/rpc')
-rw-r--r-- | ext/rpc/com/com_wrapper.c | 19 | ||||
-rw-r--r-- | ext/rpc/dotnet/dotnet.cpp | 3 | ||||
-rw-r--r-- | ext/rpc/java/java.c | 18 | ||||
-rw-r--r-- | ext/rpc/xmlrpc/xmlrpc-epi-php.c | 6 |
4 files changed, 34 insertions, 12 deletions
diff --git a/ext/rpc/com/com_wrapper.c b/ext/rpc/com/com_wrapper.c index b4aebc5fa3..794a71ae16 100644 --- a/ext/rpc/com/com_wrapper.c +++ b/ext/rpc/com/com_wrapper.c @@ -1810,7 +1810,16 @@ PHP_MSHUTDOWN_FUNCTION(COM) /* exports for external object creation */ zend_module_entry COM_module_entry = { - "com", COM_functions, PHP_MINIT(COM), PHP_MSHUTDOWN(COM), NULL, NULL, PHP_MINFO(COM), STANDARD_MODULE_PROPERTIES + STANDARD_MODULE_HEADER, + "com", + COM_functions, + PHP_MINIT(COM), + PHP_MSHUTDOWN(COM), + NULL, + NULL, + PHP_MINFO(COM), + NO_VERSION_YET, + STANDARD_MODULE_PROPERTIES }; PHPAPI int php_COM_get_le_comval() @@ -1819,3 +1828,11 @@ PHPAPI int php_COM_get_le_comval() } #endif + +/* + * Local variables: + * tab-width: 4 + * c-basic-offset: 4 + * indent-tabs-mode: t + * End: + */ diff --git a/ext/rpc/dotnet/dotnet.cpp b/ext/rpc/dotnet/dotnet.cpp index 24a7b26315..ec9b0e7291 100644 --- a/ext/rpc/dotnet/dotnet.cpp +++ b/ext/rpc/dotnet/dotnet.cpp @@ -226,7 +226,8 @@ PHP_MSHUTDOWN_FUNCTION(DOTNET) zend_module_entry dotnet_module_entry = { - "dotnet", DOTNET_functions, PHP_MINIT(DOTNET), PHP_MSHUTDOWN(DOTNET), NULL, NULL, PHP_MINFO(DOTNET), STANDARD_MODULE_PROPERTIES + STANDARD_MODULE_HEADER, + "dotnet", DOTNET_functions, PHP_MINIT(DOTNET), PHP_MSHUTDOWN(DOTNET), NULL, NULL, PHP_MINFO(DOTNET), NO_VERSION_YET, STANDARD_MODULE_PROPERTIES }; BEGIN_EXTERN_C() diff --git a/ext/rpc/java/java.c b/ext/rpc/java/java.c index a1c9458670..833e5a3fce 100644 --- a/ext/rpc/java/java.c +++ b/ext/rpc/java/java.c @@ -631,14 +631,16 @@ static PHP_MINFO_FUNCTION(java) { } zend_module_entry java_module_entry = { - "java", - java_functions, - PHP_MINIT(java), - PHP_MSHUTDOWN(java), - NULL, - NULL, - PHP_MINFO(java), - STANDARD_MODULE_PROPERTIES + STANDARD_MODULE_HEADER, + "java", + java_functions, + PHP_MINIT(java), + PHP_MSHUTDOWN(java), + NULL, + NULL, + PHP_MINFO(java), + NO_VERSION_YET, + STANDARD_MODULE_PROPERTIES }; ZEND_GET_MODULE(java) diff --git a/ext/rpc/xmlrpc/xmlrpc-epi-php.c b/ext/rpc/xmlrpc/xmlrpc-epi-php.c index d68e355def..942a812d1d 100644 --- a/ext/rpc/xmlrpc/xmlrpc-epi-php.c +++ b/ext/rpc/xmlrpc/xmlrpc-epi-php.c @@ -57,6 +57,8 @@ #include "php_xmlrpc.h" #include "xmlrpc.h" +#define PHP_EXT_VERSION "0.41" + /* You should tweak config.m4 so this symbol (or some else suitable) gets defined. */ @@ -88,6 +90,7 @@ function_entry xmlrpc_functions[] = { }; zend_module_entry xmlrpc_module_entry = { + STANDARD_MODULE_HEADER, "xmlrpc", xmlrpc_functions, PHP_MINIT(xmlrpc), @@ -95,6 +98,7 @@ zend_module_entry xmlrpc_module_entry = { PHP_RINIT(xmlrpc), /* Replace with NULL if there's nothing to do at request start */ PHP_RSHUTDOWN(xmlrpc), /* Replace with NULL if there's nothing to do at request end */ PHP_MINFO(xmlrpc), + PHP_EXT_VERSION, STANDARD_MODULE_PROPERTIES }; @@ -135,8 +139,6 @@ typedef struct _xmlrpc_callback_data { char php_executed; } xmlrpc_callback_data; -#define PHP_EXT_VERSION "0.41" - // output options #define OUTPUT_TYPE_KEY "output_type" #define OUTPUT_TYPE_KEY_LEN (sizeof(OUTPUT_TYPE_KEY) - 1) |