* zend_module_entry change: apino, debug and zts are moved first,

see README.EXTENSIONS file for upgrade help.
@Introduced extension version numbers (Stig)
This commit is contained in:
Stig Bakken 2001-10-11 23:33:59 +00:00
parent 405142087c
commit 689252082c
97 changed files with 392 additions and 72 deletions

39
README.EXTENSIONS Normal file
View File

@ -0,0 +1,39 @@
Between PHP 4.0.6 and 4.1.0, the Zend module struct changed in a way
that broke both source and binary compatibility. If you are
maintaining a third party extension, here's how to update it:
If this was your old module entry:
zend_module_entry foo_module_entry = {
"foo", /* extension name */
foo_functions, /* extension function list */
NULL, /* extension-wide startup function */
NULL, /* extension-wide shutdown function */
PHP_RINIT(foo), /* per-request startup function */
PHP_RSHUTDOWN(foo), /* per-request shutdown function */
PHP_MINFO(foo), /* information function */
STANDARD_MODULE_PROPERTIES
};
Here's how it should look if you want your code to build with PHP
4.1.0 and up:
zend_module_entry foo_module_entry = {
#if ZEND_MODULE_API_NO >= 20010901
STANDARD_MODULE_HEADER,
#endif
"foo", /* extension name */
foo_functions, /* extension function list */
NULL, /* extension-wide startup function */
NULL, /* extension-wide shutdown function */
PHP_RINIT(foo), /* per-request startup function */
PHP_RSHUTDOWN(foo), /* per-request shutdown function */
PHP_MINFO(foo), /* information function */
#if ZEND_MODULE_API_NO >= 20010901
FOO_VERSION, /* extension version number (string) */
#endif
STANDARD_MODULE_PROPERTIES
};
If you don't care about source compatibility with earlier PHP releases
than 4.1.0, you can drop the #if/#endif lines.

View File

@ -51,7 +51,8 @@ function_entry aspell_functions[] = {
static int le_aspell;
zend_module_entry aspell_module_entry = {
"aspell", aspell_functions, PHP_MINIT(aspell), NULL, NULL, NULL, PHP_MINFO(aspell), STANDARD_MODULE_PROPERTIES
STANDARD_MODULE_HEADER,
"aspell", aspell_functions, PHP_MINIT(aspell), NULL, NULL, NULL, PHP_MINFO(aspell), NO_VERSION_YET, STANDARD_MODULE_PROPERTIES
};
#ifdef COMPILE_DL_ASPELL

View File

@ -44,13 +44,15 @@ function_entry bcmath_functions[] = {
};
zend_module_entry bcmath_module_entry = {
STANDARD_MODULE_HEADER,
"bcmath",
bcmath_functions,
bcmath_functions,
PHP_MINIT(bcmath),
PHP_MSHUTDOWN(bcmath),
PHP_RINIT(bcmath),
NULL,
PHP_MINFO(bcmath),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};

View File

@ -57,6 +57,7 @@ function_entry calendar_functions[] = {
zend_module_entry calendar_module_entry = {
STANDARD_MODULE_HEADER,
"calendar",
calendar_functions,
PHP_MINIT(calendar),
@ -64,6 +65,7 @@ zend_module_entry calendar_module_entry = {
NULL,
NULL,
PHP_MINFO(calendar),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES,
};

View File

@ -97,15 +97,17 @@ static char const cvsid[] = "$Id$";
/* Declare our module to the Zend engine */
zend_module_entry ccvs_module_entry = {
STANDARD_MODULE_HEADER,
"CCVS",
ccvs_functions,
NULL, NULL, NULL, NULL,
PHP_MINFO(ccvs),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};
#ifdef COMPILE_DL_LDAP
ZEND_GET_MODULE(ldap)
#ifdef COMPILE_DL_CCVS
ZEND_GET_MODULE(ccvs)
#endif
/* Full Functions (The actual CCVS functions and any internal php hooked functions such as MINFO) */

View File

@ -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:
*/

View File

@ -155,7 +155,16 @@ function_entry cpdf_functions[] = {
};
zend_module_entry cpdf_module_entry = {
"cpdf", cpdf_functions, PHP_MINIT(cpdf), PHP_MSHUTDOWN(cpdf), PHP_RINIT(cpdf), NULL, PHP_MINFO(cpdf), STANDARD_MODULE_PROPERTIES
STANDARD_MODULE_HEADER,
"cpdf",
cpdf_functions,
PHP_MINIT(cpdf),
PHP_MSHUTDOWN(cpdf),
PHP_RINIT(cpdf),
NULL,
PHP_MINFO(cpdf),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};
#ifdef COMPILE_DL_CPDF

View File

@ -43,6 +43,7 @@ function_entry crack_functions[] = {
};
zend_module_entry crack_module_entry = {
STANDARD_MODULE_HEADER,
"crack",
crack_functions,
ZEND_MODULE_STARTUP_N(crack),
@ -50,6 +51,7 @@ zend_module_entry crack_module_entry = {
ZEND_MODULE_ACTIVATE_N(crack),
ZEND_MODULE_DEACTIVATE_N(crack),
ZEND_MODULE_INFO_N(crack),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};

View File

@ -62,6 +62,7 @@ function_entry ctype_functions[] = {
/* {{{ ctype_mpodule_entry
*/
zend_module_entry ctype_module_entry = {
STANDARD_MODULE_HEADER,
"ctype",
ctype_functions,
NULL,
@ -69,6 +70,7 @@ zend_module_entry ctype_module_entry = {
NULL,
NULL,
PHP_MINFO(ctype),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};
/* }}} */

View File

@ -69,6 +69,7 @@ function_entry curl_functions[] = {
/* {{{ curl_module_entry
*/
zend_module_entry curl_module_entry = {
STANDARD_MODULE_HEADER,
"curl",
curl_functions,
PHP_MINIT(curl),
@ -76,6 +77,7 @@ zend_module_entry curl_module_entry = {
NULL,
NULL,
PHP_MINFO(curl),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};
/* }}} */

View File

@ -45,6 +45,7 @@ function_entry cybercash_functions[] = {
/* {{{ cybercash_module_entry
*/
zend_module_entry cybercash_module_entry = {
STANDARD_MODULE_HEADER,
"cybercash",
cybercash_functions,
NULL,
@ -52,6 +53,7 @@ zend_module_entry cybercash_module_entry = {
NULL,
NULL,
PHP_MINFO(cybercash),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES,
};
/* }}} */

View File

@ -48,6 +48,7 @@ function_entry cybermut_functions[] = {
/* {{{ cybermut_module_entry
*/
zend_module_entry cybermut_module_entry = {
STANDARD_MODULE_HEADER,
"cybermut",
cybermut_functions,
PHP_MINIT(cybermut),
@ -55,6 +56,7 @@ zend_module_entry cybermut_module_entry = {
NULL,
NULL,
PHP_MINFO(cybermut),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};
/* }}} */

View File

@ -48,6 +48,7 @@ function_entry cyrus_functions[] = {
};
zend_module_entry cyrus_module_entry = {
STANDARD_MODULE_HEADER,
"cyrus",
cyrus_functions,
PHP_MINIT(cyrus),
@ -55,6 +56,7 @@ zend_module_entry cyrus_module_entry = {
NULL,
NULL,
PHP_MINFO(cyrus),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};

View File

@ -1234,7 +1234,16 @@ function_entry dbm_functions[] = {
/* }}} */
zend_module_entry dbm_module_entry = {
"db", dbm_functions, PHP_MINIT(db), PHP_MSHUTDOWN(db), PHP_RINIT(db), NULL, PHP_MINFO(db), STANDARD_MODULE_PROPERTIES
STANDARD_MODULE_HEADER,
"db",
dbm_functions,
PHP_MINIT(db),
PHP_MSHUTDOWN(db),
PHP_RINIT(db),
NULL,
PHP_MINFO(db),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};
#ifdef COMPILE_DL_DB

View File

@ -60,11 +60,15 @@ static PHP_MSHUTDOWN_FUNCTION(dba);
static PHP_MINFO_FUNCTION(dba);
zend_module_entry dba_module_entry = {
"dba", dba_functions,
STANDARD_MODULE_HEADER,
"dba",
dba_functions,
PHP_MINIT(dba),
PHP_MSHUTDOWN(dba),
NULL, NULL,
NULL,
NULL,
PHP_MINFO(dba),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};

View File

@ -787,7 +787,8 @@ function_entry dbase_functions[] = {
/* }}} */
zend_module_entry dbase_module_entry = {
"dbase", dbase_functions, PHP_MINIT(dbase), PHP_MSHUTDOWN(dbase), NULL, NULL, NULL, STANDARD_MODULE_PROPERTIES
STANDARD_MODULE_HEADER,
"dbase", dbase_functions, PHP_MINIT(dbase), PHP_MSHUTDOWN(dbase), NULL, NULL, NULL, NO_VERSION_YET, STANDARD_MODULE_PROPERTIES
};

View File

@ -118,6 +118,7 @@ function_entry dbplus_functions[] = {
/* {{{ module entry */
zend_module_entry dbplus_module_entry = {
STANDARD_MODULE_HEADER,
"dbplus",
dbplus_functions,
PHP_MINIT(dbplus),
@ -125,6 +126,7 @@ zend_module_entry dbplus_module_entry = {
PHP_RINIT(dbplus), /* Replace with NULL if there's nothing to do at request start */
PHP_RSHUTDOWN(dbplus), /* Replace with NULL if there's nothing to do at request end */
PHP_MINFO(dbplus),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};

View File

@ -148,6 +148,7 @@ function_entry dbx_functions[] = {
};
zend_module_entry dbx_module_entry = {
STANDARD_MODULE_HEADER,
"dbx",
dbx_functions,
ZEND_MINIT(dbx),
@ -155,6 +156,7 @@ zend_module_entry dbx_module_entry = {
NULL, /*ZEND_RINIT(dbx), /* Replace with NULL if there's nothing to do at request start */
NULL, /*ZEND_RSHUTDOWN(dbx), /* Replace with NULL if there's nothing to do at request end */
ZEND_MINFO(dbx),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};

View File

@ -267,6 +267,7 @@ static zend_function_entry php_domxmlns_class_functions[] = {
};
zend_module_entry domxml_module_entry = {
STANDARD_MODULE_HEADER,
"domxml",
domxml_functions,
PHP_MINIT(domxml),
@ -274,6 +275,7 @@ zend_module_entry domxml_module_entry = {
PHP_RINIT(domxml),
NULL,
PHP_MINFO(domxml),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};

View File

@ -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()

View File

@ -131,11 +131,13 @@ PHP_MINFO_FUNCTION(exif);
/* {{{ exif_module_entry
*/
zend_module_entry exif_module_entry = {
STANDARD_MODULE_HEADER,
"exif",
exif_functions,
NULL, NULL,
NULL, NULL,
PHP_MINFO(exif),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};
/* }}} */

View File

@ -231,14 +231,16 @@ function_entry fbsql_functions[] = {
/* }}} */
zend_module_entry fbsql_module_entry = {
"fbsql",
fbsql_functions,
PHP_MINIT(fbsql),
PHP_MSHUTDOWN(fbsql),
PHP_RINIT(fbsql),
PHP_RSHUTDOWN(fbsql),
PHP_MINFO(fbsql),
STANDARD_MODULE_PROPERTIES
STANDARD_MODULE_HEADER,
"fbsql",
fbsql_functions,
PHP_MINIT(fbsql),
PHP_MSHUTDOWN(fbsql),
PHP_RINIT(fbsql),
PHP_RSHUTDOWN(fbsql),
PHP_MINFO(fbsql),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};
ZEND_DECLARE_MODULE_GLOBALS(fbsql)

View File

@ -68,6 +68,7 @@ function_entry fdf_functions[] = {
/* }}} */
zend_module_entry fdf_module_entry = {
STANDARD_MODULE_HEADER,
"fdf",
fdf_functions,
PHP_MINIT(fdf),
@ -75,6 +76,7 @@ zend_module_entry fdf_module_entry = {
NULL,
NULL,
PHP_MINFO(fdf),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};

View File

@ -144,7 +144,8 @@ function_entry filepro_functions[] = {
};
zend_module_entry filepro_module_entry = {
"filepro", filepro_functions, PHP_MINIT(filepro), PHP_MSHUTDOWN(filepro), NULL, NULL, NULL, STANDARD_MODULE_PROPERTIES
STANDARD_MODULE_HEADER,
"filepro", filepro_functions, PHP_MINIT(filepro), PHP_MSHUTDOWN(filepro), NULL, NULL, NULL, NO_VERSION_YET, STANDARD_MODULE_PROPERTIES
};

View File

@ -47,6 +47,7 @@ function_entry fribidi_functions[] = {
};
zend_module_entry fribidi_module_entry = {
STANDARD_MODULE_HEADER,
"fribidi",
fribidi_functions,
PHP_MINIT(fribidi),
@ -54,6 +55,7 @@ zend_module_entry fribidi_module_entry = {
NULL,
NULL,
PHP_MINFO(fribidi),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};

View File

@ -62,6 +62,7 @@ function_entry php_ftp_functions[] = {
};
zend_module_entry php_ftp_module_entry = {
STANDARD_MODULE_HEADER,
"ftp",
php_ftp_functions,
PHP_MINIT(ftp),
@ -69,6 +70,7 @@ zend_module_entry php_ftp_module_entry = {
NULL,
NULL,
PHP_MINFO(ftp),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};
@ -854,3 +856,11 @@ PHP_FUNCTION(ftp_quit)
/* }}} */
#endif /* HAVE_FTP */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* indent-tabs-mode: t
* End:
*/

View File

@ -202,7 +202,16 @@ function_entry gd_functions[] = {
/* }}} */
zend_module_entry gd_module_entry = {
"gd", gd_functions, PHP_MINIT(gd), NULL, NULL, NULL, PHP_MINFO(gd), STANDARD_MODULE_PROPERTIES
STANDARD_MODULE_HEADER,
"gd",
gd_functions,
PHP_MINIT(gd),
NULL,
NULL,
NULL,
PHP_MINFO(gd),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};
#ifdef COMPILE_DL_GD

View File

@ -54,6 +54,7 @@ function_entry php_gettext_functions[] = {
/* }}} */
zend_module_entry php_gettext_module_entry = {
STANDARD_MODULE_HEADER,
"gettext",
php_gettext_functions,
NULL,
@ -61,6 +62,7 @@ zend_module_entry php_gettext_module_entry = {
NULL,
NULL,
PHP_MINFO(gettext),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};

View File

@ -86,6 +86,7 @@ function_entry gmp_functions[] = {
/* {{{ gmp_module_entry
*/
zend_module_entry gmp_module_entry = {
STANDARD_MODULE_HEADER,
"gmp",
gmp_functions,
ZEND_MODULE_STARTUP_N(gmp),
@ -93,6 +94,7 @@ zend_module_entry gmp_module_entry = {
NULL, /* Replace with NULL if there's nothing to do at request start */
NULL, /* Replace with NULL if there's nothing to do at request end */
ZEND_MODULE_INFO_N(gmp),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};
/* }}} */

View File

@ -129,7 +129,8 @@ function_entry hw_functions[] = {
};
zend_module_entry hw_module_entry = {
"hyperwave", hw_functions, PHP_MINIT(hw), PHP_MSHUTDOWN(hw), NULL, NULL, PHP_MINFO(hw), STANDARD_MODULE_PROPERTIES
STANDARD_MODULE_HEADER,
"hyperwave", hw_functions, PHP_MINIT(hw), PHP_MSHUTDOWN(hw), NULL, NULL, PHP_MINFO(hw), NO_VERSION_YET, STANDARD_MODULE_PROPERTIES
};
/*

View File

@ -89,7 +89,16 @@ function_entry icap_functions[] = {
zend_module_entry php_icap_module_entry = {
"icap", icap_functions, PHP_MINIT(icap), NULL, NULL, NULL, PHP_MINFO(icap), 0, 0, 0, NULL
STANDARD_MODULE_HEADER,
"icap",
icap_functions,
PHP_MINIT(icap),
NULL,
NULL,
NULL,
PHP_MINFO(icap),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};

View File

@ -62,6 +62,7 @@ function_entry iconv_functions[] = {
/* {{{ iconv_module_entry
*/
zend_module_entry iconv_module_entry = {
STANDARD_MODULE_HEADER,
"iconv",
iconv_functions,
PHP_MINIT(miconv),
@ -69,6 +70,7 @@ zend_module_entry iconv_module_entry = {
NULL,
NULL,
PHP_MINFO(miconv),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};
/* }}} */

View File

@ -158,12 +158,15 @@ function_entry imap_functions[] = {
/* {{{ imap_module_entry
*/
zend_module_entry imap_module_entry = {
STANDARD_MODULE_HEADER,
"imap",
imap_functions,
PHP_MINIT(imap),
NULL, PHP_RINIT(imap),
NULL,
PHP_RINIT(imap),
PHP_RSHUTDOWN(imap),
PHP_MINFO(imap),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};
/* }}} */

View File

@ -165,6 +165,7 @@ $endif;
};
zend_module_entry ifx_module_entry = {
STANDARD_MODULE_HEADER,
"informix",
ifx_functions,
PHP_MINIT(ifx),
@ -172,6 +173,7 @@ zend_module_entry ifx_module_entry = {
PHP_RINIT(ifx),
NULL,
PHP_MINFO(ifx),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};

View File

@ -67,6 +67,7 @@ function_entry ii_functions[] = {
};
zend_module_entry ingres_ii_module_entry = {
STANDARD_MODULE_HEADER,
"ingres_ii",
ii_functions,
PHP_MINIT(ii),
@ -74,6 +75,7 @@ zend_module_entry ingres_ii_module_entry = {
PHP_RINIT(ii),
PHP_RSHUTDOWN(ii),
PHP_MINFO(ii),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};
@ -1462,4 +1464,4 @@ PHP_FUNCTION(ingres_autocommit)
* vim600: sw=4 ts=4 fdm=marker
* vim<600: sw=4 ts=4
*/

View File

@ -108,6 +108,7 @@ function_entry ibase_functions[] = {
zend_module_entry ibase_module_entry =
{
STANDARD_MODULE_HEADER,
"interbase",
ibase_functions,
PHP_MINIT(ibase),
@ -115,6 +116,7 @@ zend_module_entry ibase_module_entry =
PHP_RINIT(ibase),
PHP_RSHUTDOWN(ibase),
PHP_MINFO(ibase),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};

View File

@ -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)

View File

@ -124,6 +124,7 @@ function_entry ldap_functions[] = {
/* }}} */
zend_module_entry ldap_module_entry = {
STANDARD_MODULE_HEADER,
"ldap",
ldap_functions,
PHP_MINIT(ldap),
@ -131,6 +132,7 @@ zend_module_entry ldap_module_entry = {
NULL,
NULL,
PHP_MINFO(ldap),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};

View File

@ -66,6 +66,7 @@ function_entry mailparse_functions[] = {
};
zend_module_entry mailparse_module_entry = {
STANDARD_MODULE_HEADER,
"mailparse",
mailparse_functions,
PHP_MINIT(mailparse),
@ -73,6 +74,7 @@ zend_module_entry mailparse_module_entry = {
PHP_RINIT(mailparse),
PHP_RSHUTDOWN(mailparse),
PHP_MINFO(mailparse),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};

View File

@ -131,6 +131,7 @@ function_entry mbstring_functions[] = {
};
zend_module_entry mbstring_module_entry = {
STANDARD_MODULE_HEADER,
"mbstring",
mbstring_functions,
PHP_MINIT(mbstring),
@ -138,6 +139,7 @@ zend_module_entry mbstring_module_entry = {
PHP_RINIT(mbstring),
PHP_RSHUTDOWN(mbstring),
PHP_MINFO(mbstring),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};

View File

@ -111,7 +111,16 @@ function_entry mcal_functions[] = {
};
zend_module_entry php_mcal_module_entry = {
"mcal", mcal_functions, PHP_MINIT(mcal), NULL, NULL, NULL, PHP_MINFO(mcal), STANDARD_MODULE_PROPERTIES
STANDARD_MODULE_HEADER,
"mcal",
mcal_functions,
PHP_MINIT(mcal),
NULL,
NULL,
NULL,
PHP_MINFO(mcal),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};
#ifdef COMPILE_DL_MCAL

View File

@ -91,11 +91,13 @@ static PHP_MINIT_FUNCTION(mcrypt);
static PHP_MSHUTDOWN_FUNCTION(mcrypt);
zend_module_entry mcrypt_module_entry = {
STANDARD_MODULE_HEADER,
"mcrypt",
mcrypt_functions,
PHP_MINIT(mcrypt), PHP_MSHUTDOWN(mcrypt),
NULL, NULL,
PHP_MINFO(mcrypt),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES,
};

View File

@ -46,11 +46,13 @@ function_entry mhash_functions[] = {
static PHP_MINIT_FUNCTION(mhash);
zend_module_entry mhash_module_entry = {
STANDARD_MODULE_HEADER,
"mhash",
mhash_functions,
PHP_MINIT(mhash), NULL,
NULL, NULL,
NULL,
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES,
};

View File

@ -2978,6 +2978,7 @@ PHP_FUNCTION(swftextfield_addString)
zend_module_entry ming_module_entry =
{
STANDARD_MODULE_HEADER,
"ming",
ming_functions,
PHP_MINIT(ming), /* module init function */
@ -2985,6 +2986,7 @@ zend_module_entry ming_module_entry =
PHP_RINIT(ming), /* request init function */
NULL, /* request shutdown function */
PHP_MINFO(ming), /* module info function */
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};

View File

@ -159,6 +159,7 @@ function_entry mnogosearch_functions[] = {
/* }}} */
zend_module_entry mnogosearch_module_entry = {
STANDARD_MODULE_HEADER,
"mnogosearch",
mnogosearch_functions,
PHP_MINIT(mnogosearch),
@ -166,6 +167,7 @@ zend_module_entry mnogosearch_module_entry = {
PHP_RINIT(mnogosearch),
NULL,
PHP_MINFO(mnogosearch),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};

View File

@ -99,6 +99,7 @@ function_entry msession_functions[] = {
};
zend_module_entry msession_module_entry = {
STANDARD_MODULE_HEADER,
"msession",
msession_functions,
PHP_MINIT(msession),
@ -106,6 +107,7 @@ zend_module_entry msession_module_entry = {
PHP_RINIT(msession), /* Replace with NULL if there's nothing to do at request start */
PHP_RSHUTDOWN(msession),/* Replace with NULL if there's nothing to do at request end */
PHP_MINFO(msession),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};

View File

@ -103,8 +103,9 @@ function_entry msql_functions[] = {
/* }}} */
zend_module_entry msql_module_entry = {
STANDARD_MODULE_HEADER,
"msql", msql_functions, PHP_MINIT(msql), NULL, PHP_RINIT(msql), NULL,
PHP_MINFO(msql), STANDARD_MODULE_PROPERTIES
PHP_MINFO(msql), NO_VERSION_YET, STANDARD_MODULE_PROPERTIES
};

View File

@ -82,6 +82,7 @@ function_entry mssql_functions[] = {
zend_module_entry mssql_module_entry =
{
STANDARD_MODULE_HEADER,
"mssql",
mssql_functions,
PHP_MINIT(mssql),
@ -89,6 +90,7 @@ zend_module_entry mssql_module_entry =
PHP_RINIT(mssql),
PHP_RSHUTDOWN(mssql),
PHP_MINFO(mssql),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};

View File

@ -61,6 +61,7 @@ function_entry muscat_functions[] = {
};
zend_module_entry muscat_module_entry = {
STANDARD_MODULE_HEADER,
"muscat",
muscat_functions,
PHP_MINIT(muscat),
@ -68,6 +69,7 @@ zend_module_entry muscat_module_entry = {
PHP_RINIT(muscat), /* Replace with NULL if there's nothing to do at request start */
PHP_RSHUTDOWN(muscat), /* Replace with NULL if there's nothing to do at request end */
PHP_MINFO(muscat),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};

View File

@ -182,8 +182,16 @@ function_entry mysql_functions[] = {
/* {{{ mysql_module_entry
*/
zend_module_entry mysql_module_entry = {
"mysql", mysql_functions, ZEND_MODULE_STARTUP_N(mysql), PHP_MSHUTDOWN(mysql), PHP_RINIT(mysql), PHP_RSHUTDOWN(mysql),
PHP_MINFO(mysql), STANDARD_MODULE_PROPERTIES
STANDARD_MODULE_HEADER,
"mysql",
mysql_functions,
ZEND_MODULE_STARTUP_N(mysql),
PHP_MSHUTDOWN(mysql),
PHP_RINIT(mysql),
PHP_RSHUTDOWN(mysql),
PHP_MINFO(mysql),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};
/* }}} */

View File

@ -46,6 +46,7 @@ static void ncurses_destruct(zend_rsrc_list_entry *rsrc TSRMLS_DC)
/* {{{ ncurses_module_entry
*/
zend_module_entry ncurses_module_entry = {
STANDARD_MODULE_HEADER,
"ncurses",
ncurses_functions,
PHP_MINIT(ncurses),
@ -53,6 +54,7 @@ zend_module_entry ncurses_module_entry = {
PHP_RINIT(ncurses), /* Replace with NULL if there's nothing to do at request start */
PHP_RSHUTDOWN(ncurses), /* Replace with NULL if there's nothing to do at request end */
PHP_MINFO(ncurses),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};
/* }}} */

View File

@ -97,6 +97,7 @@ function_entry notes_functions[] = {
};
zend_module_entry notes_module_entry = {
STANDARD_MODULE_HEADER,
"notes",
notes_functions,
PHP_MINIT(notes),
@ -104,6 +105,7 @@ zend_module_entry notes_module_entry = {
PHP_RINIT(notes),
PHP_RSHUTDOWN(notes),
PHP_MINFO(notes),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};

View File

@ -386,6 +386,7 @@ static zend_function_entry php_oci_coll_class_functions[] = {
#endif
zend_module_entry oci8_module_entry = {
STANDARD_MODULE_HEADER,
"oci8", /* extension name */
php_oci_functions, /* extension function list */
PHP_MINIT(oci), /* extension-wide startup function */
@ -393,6 +394,7 @@ zend_module_entry oci8_module_entry = {
PHP_RINIT(oci), /* per-request startup function */
PHP_RSHUTDOWN(oci), /* per-request shutdown function */
PHP_MINFO(oci), /* information function */
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};

View File

@ -135,6 +135,7 @@ function_entry odbc_functions[] = {
/* {{{ odbc_module_entry
*/
zend_module_entry odbc_module_entry = {
STANDARD_MODULE_HEADER,
"odbc",
odbc_functions,
PHP_MINIT(odbc),
@ -142,6 +143,7 @@ zend_module_entry odbc_module_entry = {
PHP_RINIT(odbc),
PHP_RSHUTDOWN(odbc),
PHP_MINFO(odbc),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};
/* }}} */

View File

@ -65,8 +65,10 @@ function_entry velocis_functions[] = {
};
zend_module_entry velocis_module_entry = {
STANDARD_MODULE_HEADER,
"velocis", velocis_functions, PHP_MINIT(velocis), PHP_MSHUTDOWN(velocis),
PHP_RINIT(velocis), NULL, PHP_MINFO(velocis), STANDARD_MODULE_PROPERTIES
PHP_RINIT(velocis), NULL, PHP_MINFO(velocis), NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};

View File

@ -115,6 +115,7 @@ function_entry openssl_functions[] = {
/* {{{ openssl_module_entry
*/
zend_module_entry openssl_module_entry = {
STANDARD_MODULE_HEADER,
"openssl",
openssl_functions,
PHP_MINIT(openssl),
@ -122,6 +123,7 @@ zend_module_entry openssl_module_entry = {
NULL,
NULL,
PHP_MINFO(openssl),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};
/* }}} */

View File

@ -146,6 +146,7 @@ function_entry oracle_functions[] = {
/* {{{ oracle_module_entry
*/
zend_module_entry oracle_module_entry = {
STANDARD_MODULE_HEADER,
"oracle",
oracle_functions,
PHP_MINIT(oracle), /* extension-wide startup function */
@ -153,6 +154,7 @@ zend_module_entry oracle_module_entry = {
PHP_RINIT(oracle), /* per-request startup function */
PHP_RSHUTDOWN(oracle), /* per-request shutdown function */
PHP_MINFO(oracle),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};
/* }}} */

View File

@ -1299,13 +1299,15 @@ function_entry ovrimos_functions[] = {
/* }}} */
zend_module_entry ovrimos_module_entry = {
"Ovrimos",
STANDARD_MODULE_HEADER,
"ovrimos",
ovrimos_functions,
NULL,
NULL,
NULL,
NULL,
PHP_MINFO(ovrimos),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};

View File

@ -55,12 +55,15 @@ function_entry pcntl_functions[] = {
};
zend_module_entry pcntl_module_entry = {
"pcntl", pcntl_functions,
STANDARD_MODULE_HEADER,
"pcntl",
pcntl_functions,
PHP_MINIT(pcntl),
PHP_MSHUTDOWN(pcntl),
NULL,
NULL,
PHP_MINFO(pcntl),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};

View File

@ -1364,13 +1364,16 @@ function_entry pcre_functions[] = {
};
zend_module_entry pcre_module_entry = {
"pcre", pcre_functions,
PHP_MINIT(pcre),
PHP_MSHUTDOWN(pcre),
PHP_RINIT(pcre),
NULL,
PHP_MINFO(pcre),
STANDARD_MODULE_PROPERTIES
STANDARD_MODULE_HEADER,
"pcre",
pcre_functions,
PHP_MINIT(pcre),
PHP_MSHUTDOWN(pcre),
PHP_RINIT(pcre),
NULL,
PHP_MINFO(pcre),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};
#ifdef COMPILE_DL_PCRE

View File

@ -238,6 +238,7 @@ function_entry pdf_functions[] = {
/* {{{ pdf_module_entry
*/
zend_module_entry pdf_module_entry = {
STANDARD_MODULE_HEADER,
"pdf",
pdf_functions,
PHP_MINIT(pdf),
@ -245,6 +246,7 @@ zend_module_entry pdf_module_entry = {
NULL,
NULL,
PHP_MINFO(pdf),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};
/* }}} */

View File

@ -57,6 +57,7 @@ function_entry pfpro_functions[] = {
/* {{{ Zend module entry */
zend_module_entry pfpro_module_entry = {
STANDARD_MODULE_HEADER,
"pfpro",
pfpro_functions,
PHP_MINIT(pfpro),
@ -64,6 +65,7 @@ zend_module_entry pfpro_module_entry = {
PHP_RINIT(pfpro), /* request start */
PHP_RSHUTDOWN(pfpro), /* request end */
PHP_MINFO(pfpro),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};
/* }}} */

View File

@ -101,6 +101,7 @@ function_entry pgsql_functions[] = {
/* {{{ pgsql_module_entry
*/
zend_module_entry pgsql_module_entry = {
STANDARD_MODULE_HEADER,
"pgsql",
pgsql_functions,
PHP_MINIT(pgsql),
@ -108,6 +109,7 @@ zend_module_entry pgsql_module_entry = {
PHP_RINIT(pgsql),
PHP_RSHUTDOWN(pgsql),
PHP_MINFO(pgsql),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};
/* }}} */

View File

@ -110,6 +110,7 @@ static PHP_MINFO_FUNCTION(posix);
/* {{{ posix_module_entry
*/
zend_module_entry posix_module_entry = {
STANDARD_MODULE_HEADER,
"posix",
posix_functions,
NULL,
@ -117,6 +118,7 @@ zend_module_entry posix_module_entry = {
NULL,
NULL,
PHP_MINFO(posix),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};
/* }}} */

View File

@ -71,7 +71,8 @@ function_entry pspell_functions[] = {
static int le_pspell, le_pspell_config;
zend_module_entry pspell_module_entry = {
"pspell", pspell_functions, PHP_MINIT(pspell), NULL, NULL, NULL, PHP_MINFO(pspell), STANDARD_MODULE_PROPERTIES
STANDARD_MODULE_HEADER,
"pspell", pspell_functions, PHP_MINIT(pspell), NULL, NULL, NULL, PHP_MINFO(pspell), NO_VERSION_YET, STANDARD_MODULE_PROPERTIES
};
#ifdef COMPILE_DL_PSPELL

View File

@ -53,6 +53,7 @@ function_entry qtdom_functions[] = {
};
zend_module_entry qtdom_module_entry = {
STANDARD_MODULE_HEADER,
"qtdom",
qtdom_functions,
PHP_MINIT(qtdom),
@ -60,6 +61,7 @@ zend_module_entry qtdom_module_entry = {
NULL,
NULL,
PHP_MINFO(qtdom),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};

View File

@ -69,6 +69,7 @@ static zend_function_entry php_readline_functions[] = {
};
zend_module_entry readline_module_entry = {
STANDARD_MODULE_HEADER,
"readline",
php_readline_functions,
PHP_MINIT(readline),
@ -76,6 +77,7 @@ zend_module_entry readline_module_entry = {
NULL,
PHP_RSHUTDOWN(readline),
NULL,
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};

View File

@ -54,13 +54,15 @@ static zend_function_entry php_recode_functions[] = {
};
zend_module_entry recode_module_entry = {
"Recode",
STANDARD_MODULE_HEADER,
"recode",
php_recode_functions,
PHP_MINIT(recode),
PHP_MSHUTDOWN(recode),
NULL,
NULL,
PHP_MINFO(recode),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};

View File

@ -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:
*/

View File

@ -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()

View File

@ -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)

View File

@ -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)

View File

@ -195,6 +195,7 @@ function_entry sablot_functions[] = {
};
zend_module_entry sablot_module_entry = {
STANDARD_MODULE_HEADER,
"sablot",
sablot_functions,
PHP_MINIT(sablot),
@ -202,6 +203,7 @@ zend_module_entry sablot_module_entry = {
NULL,
PHP_RSHUTDOWN(sablot),
PHP_MINFO(sablot),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};

View File

@ -81,6 +81,7 @@ static function_entry satellite_functions[] = {
* module entry
*/
zend_module_entry satellite_module_entry = {
STANDARD_MODULE_HEADER,
"satellite",
satellite_functions,
PHP_MINIT(satellite), /* module startup */
@ -88,6 +89,7 @@ zend_module_entry satellite_module_entry = {
NULL, /* request startup */
NULL, /* request shutdown */
PHP_MINFO(satellite), /* module info */
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};

View File

@ -394,11 +394,13 @@ PS_GC_FUNC(mm)
}
zend_module_entry php_session_mm_module = {
STANDARD_MODULE_HEADER,
"session mm",
NULL,
PHP_MINIT(ps_mm), PHP_MSHUTDOWN(ps_mm),
NULL, NULL,
NULL,
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};

View File

@ -222,11 +222,13 @@ static void php_rshutdown_session_globals(TSRMLS_D);
static zend_bool php_session_destroy(TSRMLS_D);
zend_module_entry session_module_entry = {
STANDARD_MODULE_HEADER,
"session",
session_functions,
PHP_MINIT(session), PHP_MSHUTDOWN(session),
PHP_RINIT(session), PHP_RSHUTDOWN(session),
PHP_MINFO(session),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};

View File

@ -61,6 +61,7 @@ function_entry shmop_functions[] = {
/* {{{ shmop_module_entry
*/
zend_module_entry shmop_module_entry = {
STANDARD_MODULE_HEADER,
"shmop",
shmop_functions,
PHP_MINIT(shmop),
@ -68,6 +69,7 @@ zend_module_entry shmop_module_entry = {
NULL,
NULL,
PHP_MINFO(shmop),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};
/* }}} */

View File

@ -30,6 +30,7 @@ function_entry extname_functions[] = {
/* {{{ extname_module_entry
*/
zend_module_entry extname_module_entry = {
STANDARD_MODULE_HEADER,
"extname",
extname_functions,
PHP_MINIT(extname),
@ -37,6 +38,7 @@ zend_module_entry extname_module_entry = {
PHP_RINIT(extname), /* Replace with NULL if there's nothing to do at request start */
PHP_RSHUTDOWN(extname), /* Replace with NULL if there's nothing to do at request end */
PHP_MINFO(extname),
"0.1", /* Replace with version number for your extension */
STANDARD_MODULE_PROPERTIES
};
/* }}} */

View File

@ -96,6 +96,7 @@ function_entry snmp_functions[] = {
/* {{{ snmp_module_entry
*/
zend_module_entry snmp_module_entry = {
STANDARD_MODULE_HEADER,
"snmp",
snmp_functions,
PHP_MINIT(snmp),
@ -103,6 +104,7 @@ zend_module_entry snmp_module_entry = {
NULL,
NULL,
PHP_MINFO(snmp),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};
/* }}} */

View File

@ -33,7 +33,16 @@ function_entry snmp_functions[] = {
/* {{{ snmp_module_entry
*/
zend_module_entry snmp_module_entry = {
"SNMP",snmp_functions,NULL,NULL,NULL,NULL,NULL,0,0,0,NULL
STANDARD_MODULE_HEADER,
"SNMP",
snmp_functions,
NULL,
NULL,
NULL,
NULL,
NULL,
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};
/* }}} */

View File

@ -152,6 +152,7 @@ function_entry sockets_functions[] = {
/* }}} */
zend_module_entry sockets_module_entry = {
STANDARD_MODULE_HEADER,
"sockets",
sockets_functions,
PHP_MINIT(sockets),
@ -159,6 +160,7 @@ zend_module_entry sockets_module_entry = {
NULL,
NULL,
PHP_MINFO(sockets),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};

View File

@ -833,6 +833,7 @@ PHP_INI_END()
zend_module_entry basic_functions_module = {
STANDARD_MODULE_HEADER,
"standard", /* extension name */
basic_functions, /* function list */
PHP_MINIT(basic), /* process startup */
@ -840,6 +841,7 @@ zend_module_entry basic_functions_module = {
PHP_RINIT(basic), /* request startup */
PHP_RSHUTDOWN(basic), /* request shutdown */
PHP_MINFO(basic), /* extension info */
PHP_VERSION, /* extension version */
STANDARD_MODULE_PROPERTIES
};

View File

@ -473,15 +473,26 @@ PHP_FUNCTION(phpinfo)
/* }}} */
/* {{{ proto string phpversion(void)
/* {{{ proto string phpversion([string extension])
Return the current PHP version */
PHP_FUNCTION(phpversion)
{
if (ZEND_NUM_ARGS() != 0) {
WRONG_PARAM_COUNT;
}
zval **arg;
int argc = ZEND_NUM_ARGS();
RETURN_STRING(PHP_VERSION, 1);
if (argc == 0) {
RETURN_STRING(PHP_VERSION, 1);
} else if (argc == 1 && zend_get_parameters_ex(1, &arg) == SUCCESS) {
char *version;
convert_to_string_ex(arg);
version = zend_get_module_version(Z_STRVAL_PP(arg));
if (version == NULL) {
RETURN_FALSE;
}
RETURN_STRING(version, 1);
} else {
WRONG_PARAM_COUNT;
}
}
/* }}} */

View File

@ -111,6 +111,7 @@ function_entry swf_functions[] = {
/* {{{ swf_module_entry
*/
zend_module_entry swf_module_entry = {
STANDARD_MODULE_HEADER,
"swf",
swf_functions,
PHP_MINIT(swf),
@ -118,6 +119,7 @@ zend_module_entry swf_module_entry = {
PHP_RINIT(swf),
NULL,
PHP_MINFO(swf),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};
/* }}} */

View File

@ -123,7 +123,8 @@ function_entry sybase_functions[] = {
};
zend_module_entry sybase_module_entry = {
"sybase", sybase_functions, PHP_MINIT(sybase), PHP_MSHUTDOWN(sybase), PHP_RINIT(sybase), PHP_RSHUTDOWN(sybase), PHP_MINFO(sybase), STANDARD_MODULE_PROPERTIES
STANDARD_MODULE_HEADER,
"sybase", sybase_functions, PHP_MINIT(sybase), PHP_MSHUTDOWN(sybase), PHP_RINIT(sybase), PHP_RSHUTDOWN(sybase), PHP_MINFO(sybase), NO_VERSION_YET, STANDARD_MODULE_PROPERTIES
};
#ifdef COMPILE_DL_SYBASE

View File

@ -80,7 +80,8 @@ function_entry sybase_functions[] = {
};
zend_module_entry sybase_module_entry = {
"sybase_ct", sybase_functions, PHP_MINIT(sybase), PHP_MSHUTDOWN(sybase), PHP_RINIT(sybase), PHP_RSHUTDOWN(sybase), PHP_MINFO(sybase), STANDARD_MODULE_PROPERTIES
STANDARD_MODULE_HEADER,
"sybase_ct", sybase_functions, PHP_MINIT(sybase), PHP_MSHUTDOWN(sybase), PHP_RINIT(sybase), PHP_RSHUTDOWN(sybase), PHP_MINFO(sybase), NO_VERSION_YET, STANDARD_MODULE_PROPERTIES
};
ZEND_DECLARE_MODULE_GLOBALS(sybase)

View File

@ -70,7 +70,8 @@ function_entry sysvsem_functions[] = {
/* {{{ sysvsem_module_entry
*/
zend_module_entry sysvsem_module_entry = {
"sysvsem", sysvsem_functions, PHP_MINIT(sysvsem), NULL, NULL, NULL, NULL, STANDARD_MODULE_PROPERTIES
STANDARD_MODULE_HEADER,
"sysvsem", sysvsem_functions, PHP_MINIT(sysvsem), NULL, NULL, NULL, NULL, NO_VERSION_YET, STANDARD_MODULE_PROPERTIES
};
/* }}} */

View File

@ -54,10 +54,12 @@ function_entry sysvshm_functions[] = {
/* {{{ sysvshm_module_entry
*/
zend_module_entry sysvshm_module_entry = {
STANDARD_MODULE_HEADER,
"sysvshm", sysvshm_functions,
PHP_MINIT(sysvshm), NULL,
NULL, NULL,
NULL,
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};
/* }}} */

View File

@ -91,6 +91,7 @@ function_entry vpopmail_functions[] = {
};
zend_module_entry vpopmail_module_entry = {
STANDARD_MODULE_HEADER,
"vpopmail",
vpopmail_functions,
PHP_MINIT(vpopmail),
@ -98,6 +99,7 @@ zend_module_entry vpopmail_module_entry = {
PHP_RINIT(vpopmail),
PHP_RSHUTDOWN(vpopmail),
PHP_MINFO(vpopmail),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};

View File

@ -105,6 +105,7 @@ PHP_MINFO_FUNCTION(wddx);
/* {{{ wddx_module_entry
*/
zend_module_entry wddx_module_entry = {
STANDARD_MODULE_HEADER,
"wddx",
wddx_functions,
PHP_MINIT(wddx),
@ -112,6 +113,7 @@ zend_module_entry wddx_module_entry = {
NULL,
NULL,
PHP_MINFO(wddx),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};
/* }}} */

View File

@ -130,6 +130,7 @@ function_entry xml_functions[] = {
};
zend_module_entry xml_module_entry = {
STANDARD_MODULE_HEADER,
"xml", /* extension name */
xml_functions, /* extension function list */
PHP_MINIT(xml), /* extension-wide startup function */
@ -137,6 +138,7 @@ zend_module_entry xml_module_entry = {
PHP_RINIT(xml), /* per-request startup function */
PHP_RSHUTDOWN(xml), /* per-request shutdown function */
PHP_MINFO(xml), /* information function */
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};

View File

@ -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)

View File

@ -95,6 +95,7 @@ function_entry xslt_functions[] = {
/* {{{ xslt_module_entry
*/
zend_module_entry xslt_module_entry = {
STANDARD_MODULE_HEADER,
"xslt",
xslt_functions,
PHP_MINIT(xslt),
@ -102,6 +103,7 @@ zend_module_entry xslt_module_entry = {
NULL,
NULL,
PHP_MINFO(xslt),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};
/* }}} */

View File

@ -2678,6 +2678,7 @@ PHP_RINIT_FUNCTION(yaz)
}
zend_module_entry yaz_module_entry = {
STANDARD_MODULE_HEADER,
"yaz",
yaz_functions,
PHP_MINIT(yaz),
@ -2685,6 +2686,7 @@ zend_module_entry yaz_module_entry = {
PHP_RINIT(yaz),
PHP_RSHUTDOWN(yaz),
PHP_MINFO(yaz),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};

View File

@ -56,6 +56,7 @@ function_entry yp_functions[] = {
};
zend_module_entry yp_module_entry = {
STANDARD_MODULE_HEADER,
"yp",
yp_functions,
PHP_MINIT(yp),
@ -63,6 +64,7 @@ zend_module_entry yp_module_entry = {
PHP_RINIT(yp),
NULL,
PHP_MINFO(yp),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};

View File

@ -56,6 +56,7 @@ function_entry zip_functions[] = {
/* {{{ zip_module_entry
*/
zend_module_entry zip_module_entry = {
STANDARD_MODULE_HEADER,
"zip",
zip_functions,
PHP_MINIT(zip),
@ -63,6 +64,7 @@ zend_module_entry zip_module_entry = {
NULL,
NULL,
PHP_MINFO(zip),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};
/* }}} */

View File

@ -112,6 +112,7 @@ function_entry php_zlib_functions[] = {
/* {{{ php_zlib_module_entry
*/
zend_module_entry php_zlib_module_entry = {
STANDARD_MODULE_HEADER,
"zlib",
php_zlib_functions,
PHP_MINIT(zlib),
@ -119,6 +120,7 @@ zend_module_entry php_zlib_module_entry = {
PHP_RINIT(zlib),
NULL,
PHP_MINFO(zlib),
NO_VERSION_YET,
STANDARD_MODULE_PROPERTIES
};
/* }}} */