}; /* }}} */ /* {{{ grpc_module_entry */ zend_module_entry grpc_module_entry = { STANDARD_MODULE_HEADER, "grpc", grpc_functions, PHP_MINIT(grpc), PHP_MSHUTDOWN(grpc), PHP_RINIT(grpc), NULL, PHP_MINFO(grpc), PHP_GRPC_VERSION, PHP_MODULE_GLOBALS(grpc), PHP_GINIT(grpc), NULL, NULL, STANDARD_MODULE_PROPERTIES_EX}; /* }}} */ #ifdef COMPILE_DL_GRPC ZEND_GET_MODULE(grpc) #endif /* {{{ PHP_INI */ /* Remove comments and fill if you need to have entries in php.ini PHP_INI_BEGIN() STD_PHP_INI_ENTRY("grpc.global_value", "42", PHP_INI_ALL, OnUpdateLong,
PHP_FALIAS(fbird_set_event_handler, ibase_set_event_handler, arginfo_ibase_set_event_handler) PHP_FALIAS(fbird_free_event_handler, ibase_free_event_handler, arginfo_ibase_free_event_handler) PHP_FE_END }; zend_module_entry ibase_module_entry = { STANDARD_MODULE_HEADER, "interbase", ibase_functions, PHP_MINIT(ibase), PHP_MSHUTDOWN(ibase), NULL, PHP_RSHUTDOWN(ibase), PHP_MINFO(ibase), NO_VERSION_YET, PHP_MODULE_GLOBALS(ibase), PHP_GINIT(ibase), NULL, NULL, STANDARD_MODULE_PROPERTIES_EX }; #ifdef COMPILE_DL_INTERBASE ZEND_GET_MODULE(ibase) #endif /* True globals, no need for thread safety */ int le_link, le_plink, le_trans; /* }}} */
zend_module_entry g_pdo_sqlsrv_module_entry = { STANDARD_MODULE_HEADER_EX, NULL, pdo_sqlsrv_depends, "pdo_sqlsrv", pdo_sqlsrv_functions, // exported function table // initialization and shutdown functions PHP_MINIT(pdo_sqlsrv), PHP_MSHUTDOWN(pdo_sqlsrv), PHP_RINIT(pdo_sqlsrv), PHP_RSHUTDOWN(pdo_sqlsrv), PHP_MINFO(pdo_sqlsrv), // version of the extension. Matches the version resource of the extension dll VER_FILEVERSION_STR, PHP_MODULE_GLOBALS(pdo_sqlsrv), NULL, NULL, NULL, STANDARD_MODULE_PROPERTIES_EX }; // functions dynamically linked from the PDO (or PHP) dll and called by other parts of the driver zend_class_entry* (*pdo_get_exception_class)( void ); int (*pdo_subst_named_params)(pdo_stmt_t *stmt, char *inquery, int inquery_len, char **outquery, int *outquery_len TSRMLS_DC); // Module initialization // This function is called once per execution of the Zend engine PHP_MINIT_FUNCTION(pdo_sqlsrv)
zend_module_entry pdo_module_entry = { #if ZEND_MODULE_API_NO >= 20050922 STANDARD_MODULE_HEADER_EX, NULL, pdo_deps, #else STANDARD_MODULE_HEADER, #endif "PDO", pdo_functions, PHP_MINIT(pdo), PHP_MSHUTDOWN(pdo), NULL, NULL, PHP_MINFO(pdo), "1.0.4dev", PHP_MODULE_GLOBALS(pdo), PHP_GINIT(pdo), NULL, NULL, STANDARD_MODULE_PROPERTIES_EX }; /* }}} */ /* TODO: visit persistent handles: for each persistent statement handle, * remove bound parameter associations */ #ifdef COMPILE_DL_PDO ZEND_GET_MODULE(pdo) #endif /* {{{ PHP_GINIT_FUNCTION */
PHP_FE(bccomp, arginfo_bccomp) PHP_FE(bcpowmod, arginfo_bcpowmod) PHP_FE_END }; zend_module_entry bcmath_module_entry = { STANDARD_MODULE_HEADER, "bcmath", bcmath_functions, PHP_MINIT(bcmath), PHP_MSHUTDOWN(bcmath), NULL, NULL, PHP_MINFO(bcmath), NO_VERSION_YET, PHP_MODULE_GLOBALS(bcmath), PHP_GINIT(bcmath), PHP_GSHUTDOWN(bcmath), NULL, STANDARD_MODULE_PROPERTIES_EX }; #ifdef COMPILE_DL_BCMATH #ifdef ZTS ZEND_TSRMLS_CACHE_DEFINE; #endif ZEND_GET_MODULE(bcmath) #endif /* {{{ PHP_INI */ PHP_INI_BEGIN()
ZEND_DECLARE_MODULE_GLOBALS(ereg) static PHP_GINIT_FUNCTION(ereg); static PHP_GSHUTDOWN_FUNCTION(ereg); /* {{{ Module entry */ zend_module_entry ereg_module_entry = { STANDARD_MODULE_HEADER, "ereg", ereg_functions, NULL, NULL, NULL, NULL, PHP_MINFO(ereg), NO_VERSION_YET, PHP_MODULE_GLOBALS(ereg), PHP_GINIT(ereg), PHP_GSHUTDOWN(ereg), NULL, STANDARD_MODULE_PROPERTIES_EX }; /* }}} */ /* {{{ COMPILE_DL_EREG */ #ifdef COMPILE_DL_EREG ZEND_GET_MODULE(ereg) #endif /* }}} */ /* {{{ ereg_lru_cmp */ static int ereg_lru_cmp(const void *a, const void *b)
}; /* }}} */ /* {{{ ezc_test_module_entry */ zend_module_entry ezc_test_module_entry = { STANDARD_MODULE_HEADER, "ezc_test", ezc_test_functions, PHP_MINIT(ezc_test), PHP_MSHUTDOWN(ezc_test), PHP_RINIT(ezc_test), PHP_RSHUTDOWN(ezc_test), PHP_MINFO(ezc_test), PHP_EZC_TEST_VERSION, PHP_MODULE_GLOBALS(ezc_test), PHP_GINIT(ezc_test), PHP_GSHUTDOWN(ezc_test), ezc_test_post_deactivate, STANDARD_MODULE_PROPERTIES_EX }; /* }}} */ #ifdef COMPILE_DL_EZC_TEST ZEND_GET_MODULE(ezc_test) #endif /* * Local variables: * tab-width: 4
} /* }}} */ /* {{{ posix_module_entry */ zend_module_entry posix_module_entry = { STANDARD_MODULE_HEADER, "posix", posix_functions, PHP_MINIT(posix), NULL, NULL, NULL, PHP_MINFO(posix), NO_VERSION_YET, PHP_MODULE_GLOBALS(posix), PHP_GINIT(posix), NULL, NULL, STANDARD_MODULE_PROPERTIES_EX }; /* }}} */ #ifdef COMPILE_DL_POSIX ZEND_GET_MODULE(posix) #endif #define PHP_POSIX_NO_ARGS if (zend_parse_parameters_none() == FAILURE) return; #define PHP_POSIX_RETURN_LONG_FUNC(func_name) \ PHP_POSIX_NO_ARGS \
PHP_FE(pcntl_sigtimedwait, arginfo_pcntl_sigtimedwait) #endif PHP_FE_END }; zend_module_entry pcntl_module_entry = { STANDARD_MODULE_HEADER, "pcntl", pcntl_functions, PHP_MINIT(pcntl), PHP_MSHUTDOWN(pcntl), PHP_RINIT(pcntl), PHP_RSHUTDOWN(pcntl), PHP_MINFO(pcntl), NO_VERSION_YET, PHP_MODULE_GLOBALS(pcntl), PHP_GINIT(pcntl), NULL, NULL, STANDARD_MODULE_PROPERTIES_EX }; #ifdef COMPILE_DL_PCNTL ZEND_GET_MODULE(pcntl) #endif static void pcntl_signal_handler(int); static void pcntl_signal_dispatch(); void php_register_signal_constants(INIT_FUNC_ARGS) {
"mime_magic", mime_magic_functions, PHP_MINIT(mime_magic), PHP_MSHUTDOWN(mime_magic), NULL, NULL, #if WANT_INI PHP_MINFO(mime_magic), #else NULL, #endif #if ZEND_MODULE_API_NO >= 20010901 "0.1", #endif #if ZEND_MODULE_API_NO >= 20060613 PHP_MODULE_GLOBALS(mime_magic), PHP_GINIT(mime_magic), NULL, NULL, STANDARD_MODULE_PROPERTIES_EX #else STANDARD_MODULE_PROPERTIES #endif }; /* }}} */ #ifdef COMPILE_DL_MIME_MAGIC ZEND_GET_MODULE(mime_magic) #endif /* {{{ PHP_INI
/* }}} */ /* {{{ smd_module_entry */ zend_module_entry smd_module_entry = { STANDARD_MODULE_HEADER, "smd", smd_functions, PHP_MINIT(smd), /* PHP_MINIT */ NULL, /* PHP_MSHUTDOWN */ PHP_RINIT(smd), /* PHP_RINIT */ PHP_RSHUTDOWN(smd), /* PHP_RSHUTDOWN */ PHP_MINFO(smd), SMD_VERSION, PHP_MODULE_GLOBALS(smd), PHP_GINIT(smd), /* PHP_GINIT*/ NULL, /* PHP_GSHUTDOWN */ NULL, STANDARD_MODULE_PROPERTIES_EX }; /* }}} */ #ifdef COMPILE_DL_SMD #ifdef ZTS ZEND_TSRMLS_CACHE_DEFINE(); #endif ZEND_GET_MODULE(smd) #endif /* {{{ PHP_INI
#if ZEND_MODULE_API_NO >= 20050617 STANDARD_MODULE_HEADER_EX, NULL, php_cassandra_deps, #elif ZEND_MODULE_API_NO >= 20010901 STANDARD_MODULE_HEADER, #endif PHP_CASSANDRA_NAME, cassandra_functions, /* Functions */ PHP_MINIT(cassandra), /* MINIT */ PHP_MSHUTDOWN(cassandra), /* MSHUTDOWN */ PHP_RINIT(cassandra), /* RINIT */ PHP_RSHUTDOWN(cassandra), /* RSHUTDOWN */ PHP_MINFO(cassandra), /* MINFO */ #if ZEND_MODULE_API_NO >= 20010901 PHP_CASSANDRA_VERSION, #endif PHP_MODULE_GLOBALS(cassandra), PHP_GINIT(cassandra), PHP_GSHUTDOWN(cassandra), NULL, STANDARD_MODULE_PROPERTIES_EX }; #ifdef COMPILE_DL_CASSANDRA ZEND_GET_MODULE(cassandra) #endif static void php_cassandra_log(const CassLogMessage* message, void* data); void php_cassandra_log_cleanup()
}; /* }}} */ /* {{{ oop_module_entry */ zend_module_entry oop_module_entry = { STANDARD_MODULE_HEADER, "oop", oop_functions, PHP_MINIT(oop), PHP_MSHUTDOWN(oop), PHP_RINIT(oop), /* Replace with NULL if there's nothing to do at request start */ PHP_RSHUTDOWN(oop), /* Replace with NULL if there's nothing to do at request end */ PHP_MINFO(oop), PHP_OOP_VERSION, PHP_MODULE_GLOBALS(oop), PHP_GINIT(oop), PHP_GSHUTDOWN(oop), NULL, STANDARD_MODULE_PROPERTIES_EX }; /* }}} */ #ifdef COMPILE_DL_OOP #ifdef ZTS ZEND_TSRMLS_CACHE_DEFINE(); #endif ZEND_GET_MODULE(oop) #endif
zend_function_entry protobuf_functions[] = { ZEND_FE_END }; zend_module_entry protobuf_module_entry = { STANDARD_MODULE_HEADER, PHP_PROTOBUF_EXTNAME, // extension name protobuf_functions, // function list PHP_MINIT(protobuf), // process startup PHP_MSHUTDOWN(protobuf), // process shutdown PHP_RINIT(protobuf), // request shutdown PHP_RSHUTDOWN(protobuf), // request shutdown NULL, // extension info PHP_PROTOBUF_VERSION, // extension version PHP_MODULE_GLOBALS(protobuf), // globals descriptor PHP_GINIT(protobuf), // globals ctor PHP_GSHUTDOWN(protobuf), // globals dtor NULL, // post deactivate STANDARD_MODULE_PROPERTIES_EX }; // install module ZEND_GET_MODULE(protobuf) // global variables static PHP_GINIT_FUNCTION(protobuf) { } static PHP_GSHUTDOWN_FUNCTION(protobuf) { }
static zend_function_entry global_functions[] = { PHP_FE(global_inc, NULL) PHP_FE(global_get, NULL) PHP_FE(global_name, NULL) { NULL, NULL, NULL } }; zend_module_entry global_module_entry = { STANDARD_MODULE_HEADER, "global", /* extname */ global_functions, NULL, /* MINIT */ NULL, /* MSHUTDOWN */ PHP_RINIT(global), PHP_RSHUTDOWN(global), NULL, /* MINFO */ NO_VERSION_YET, PHP_MODULE_GLOBALS(global), NULL, /* GINIT */ NULL, /* GSHUTDOWN */ NULL, /* RPOSTSHUTDOWN */ STANDARD_MODULE_PROPERTIES_EX }; #ifdef COMPILE_DL_GLOBAL ZEND_GET_MODULE(global) #endif
// this structure is defined in zend_modules.h in the PHP sources zend_module_entry g_sqlsrv_module_entry = { STANDARD_MODULE_HEADER, "sqlsrv", sqlsrv_functions, // exported function table // initialization and shutdown functions PHP_MINIT(sqlsrv), PHP_MSHUTDOWN(sqlsrv), PHP_RINIT(sqlsrv), PHP_RSHUTDOWN(sqlsrv), PHP_MINFO(sqlsrv), // version of the extension. Matches the version resource of the extension dll VER_FILEVERSION_STR, PHP_MODULE_GLOBALS(sqlsrv), NULL, NULL, NULL, STANDARD_MODULE_PROPERTIES_EX }; // Module initialization // This function is called once per execution of the Zend engine // We use it to: // 1) Register our constants. See MSDN or the function below for the exact constants // we register. // 2) Register our resource types (connection, statement, and stream types) // 3) Allocate the environment handles for ODBC connections (1 for non pooled // connections and 1 for pooled connections) // 4) Register our INI entries. See MSDN or php_sqlsrv.h for our supported INI entries
zend_module_entry xml_module_entry = { #ifdef LIBXML_EXPAT_COMPAT STANDARD_MODULE_HEADER_EX, NULL, xml_deps, #else STANDARD_MODULE_HEADER, #endif "xml", /* extension name */ xml_functions, /* extension function list */ PHP_MINIT(xml), /* extension-wide startup function */ NULL, /* extension-wide shutdown function */ NULL, /* per-request startup function */ NULL, /* per-request shutdown function */ PHP_MINFO(xml), /* information function */ NO_VERSION_YET, PHP_MODULE_GLOBALS(xml), /* globals descriptor */ PHP_GINIT(xml), /* globals ctor */ NULL, /* globals dtor */ NULL, /* post deactivate */ STANDARD_MODULE_PROPERTIES_EX }; /* All the encoding functions are set to NULL right now, since all * the encoding is currently done internally by expat/xmltok. */ xml_encoding xml_encodings[] = { { (XML_Char *)"ISO-8859-1", xml_decode_iso_8859_1, xml_encode_iso_8859_1 }, { (XML_Char *)"US-ASCII", xml_decode_us_ascii, xml_encode_us_ascii }, { (XML_Char *)"UTF-8", NULL, NULL }, { (XML_Char *)NULL, NULL, NULL } };
#define DBA_G(v) (dba_globals.v) #endif static PHP_GINIT_FUNCTION(dba); zend_module_entry dba_module_entry = { STANDARD_MODULE_HEADER, "dba", dba_functions, PHP_MINIT(dba), PHP_MSHUTDOWN(dba), NULL, NULL, PHP_MINFO(dba), NO_VERSION_YET, PHP_MODULE_GLOBALS(dba), PHP_GINIT(dba), NULL, NULL, STANDARD_MODULE_PROPERTIES_EX }; #ifdef COMPILE_DL_DBA ZEND_GET_MODULE(dba) #endif /* {{{ macromania */ #define DBA_ID_PARS \ zval *id; \ dba_info *info = NULL; \
ZEND_MOD_OPTIONAL("openssl") ZEND_MOD_END }; zend_module_entry mongo_module_entry = { STANDARD_MODULE_HEADER_EX, NULL, mongo_deps, PHP_MONGO_EXTNAME, mongo_functions, PHP_MINIT(mongo), PHP_MSHUTDOWN(mongo), PHP_RINIT(mongo), NULL, PHP_MINFO(mongo), PHP_MONGO_VERSION, PHP_MODULE_GLOBALS(mongo), PHP_GINIT(mongo), PHP_GSHUTDOWN(mongo), NULL, STANDARD_MODULE_PROPERTIES_EX }; /* }}} */ #ifdef COMPILE_DL_MONGO ZEND_GET_MODULE(mongo) #endif static PHP_INI_MH(OnUpdatePingInterval) { long converted_val;
#endif #if PDO_DBLIB_IS_MSSQL "pdo_mssql", #elif defined(PHP_WIN32) "pdo_sybase", #else "pdo_dblib", #endif pdo_dblib_functions, PHP_MINIT(pdo_dblib), PHP_MSHUTDOWN(pdo_dblib), NULL, PHP_RSHUTDOWN(pdo_dblib), PHP_MINFO(pdo_dblib), PHP_PDO_DBLIB_VERSION, PHP_MODULE_GLOBALS(dblib), PHP_GINIT(dblib), NULL, NULL, STANDARD_MODULE_PROPERTIES_EX }; #if defined(COMPILE_DL_PDO_DBLIB) || defined(COMPILE_DL_PDO_MSSQL) #if PDO_DBLIB_IS_MSSQL ZEND_GET_MODULE(pdo_mssql) #else ZEND_GET_MODULE(pdo_dblib) #endif #endif int pdo_dblib_error_handler(DBPROCESS *dbproc, int severity, int dberr,
zend_module_entry dso_test_module_entry = { STANDARD_MODULE_HEADER, PHP_DSO_TEST_WORLD_EXTNAME, dso_test_functions, PHP_MINIT(dso_test), PHP_MSHUTDOWN(dso_test), PHP_RINIT(dso_test), PHP_RSHUTDOWN(dso_test), PHP_MINFO(dso_test), PHP_DSO_TEST_WORLD_VERSION, PHP_MODULE_GLOBALS(dso_test), PHP_GINIT(dso_test), PHP_GSHUTDOWN(dso_test), dso_test_php_post_deactivate, STANDARD_MODULE_PROPERTIES_EX }; static PHP_INI_MH(dso_test_greeting_mh) { return SUCCESS; } PHP_INI_BEGIN() PHP_INI_ENTRY("dso_test.greeting",
STANDARD_MODULE_HEADER_EX, NULL, pdo_mysql_deps, "pdo_mysql", pdo_mysql_functions, PHP_MINIT(pdo_mysql), PHP_MSHUTDOWN(pdo_mysql), #if PDO_USE_MYSQLND && PDO_DBG_ENABLED PHP_RINIT(pdo_mysql), PHP_RSHUTDOWN(pdo_mysql), #else NULL, NULL, #endif PHP_MINFO(pdo_mysql), PHP_PDO_MYSQL_VERSION, PHP_MODULE_GLOBALS(pdo_mysql), PHP_GINIT(pdo_mysql), NULL, NULL, STANDARD_MODULE_PROPERTIES_EX }; /* }}} */ /* * Local variables: * tab-width: 4 * c-basic-offset: 4 * End: * vim600: noet sw=4 ts=4 fdm=marker * vim<600: noet sw=4 ts=4
PHP_FE_END }; /* {{{ com_dotnet_module_entry */ zend_module_entry com_dotnet_module_entry = { STANDARD_MODULE_HEADER, "com_dotnet", com_dotnet_functions, PHP_MINIT(com_dotnet), PHP_MSHUTDOWN(com_dotnet), PHP_RINIT(com_dotnet), PHP_RSHUTDOWN(com_dotnet), PHP_MINFO(com_dotnet), "0.1", PHP_MODULE_GLOBALS(com_dotnet), PHP_GINIT(com_dotnet), NULL, NULL, STANDARD_MODULE_PROPERTIES_EX }; /* }}} */ #ifdef COMPILE_DL_COM_DOTNET ZEND_GET_MODULE(com_dotnet) #endif /* {{{ PHP_INI */ /* com.typelib_file is the path to a file containing a
/* {{{ stomp_module_entry */ zend_module_entry stomp_module_entry = { #if ZEND_MODULE_API_NO >= 20010901 STANDARD_MODULE_HEADER, #endif PHP_STOMP_EXTNAME, stomp_functions, PHP_MINIT(stomp), PHP_MSHUTDOWN(stomp), PHP_RINIT(stomp), PHP_RSHUTDOWN(stomp), PHP_MINFO(stomp), #if ZEND_MODULE_API_NO >= 20010901 PHP_STOMP_VERSION, #endif PHP_MODULE_GLOBALS(stomp), PHP_GINIT(stomp), NULL, NULL, STANDARD_MODULE_PROPERTIES_EX }; /* }}} */ PHP_INI_BEGIN() STD_PHP_INI_ENTRY("stomp.default_broker", "tcp://localhost:61613", PHP_INI_ALL, OnUpdateString, default_broker, zend_stomp_globals, stomp_globals) STD_PHP_INI_ENTRY("stomp.default_username", "", PHP_INI_ALL, OnUpdateString, default_username, zend_stomp_globals, stomp_globals) STD_PHP_INI_ENTRY("stomp.default_password", "", PHP_INI_ALL, OnUpdateString, default_password, zend_stomp_globals, stomp_globals) STD_PHP_INI_ENTRY("stomp.default_read_timeout_sec", "2", PHP_INI_ALL, OnUpdateLong, read_timeout_sec, zend_stomp_globals, stomp_globals) STD_PHP_INI_ENTRY("stomp.default_read_timeout_usec", "0", PHP_INI_ALL, OnUpdateLong, read_timeout_usec, zend_stomp_globals, stomp_globals) STD_PHP_INI_ENTRY("stomp.default_connection_timeout_sec", "2", PHP_INI_ALL, OnUpdateLong, connection_timeout_sec, zend_stomp_globals, stomp_globals) STD_PHP_INI_ENTRY("stomp.default_connection_timeout_usec", "0", PHP_INI_ALL, OnUpdateLong, connection_timeout_usec, zend_stomp_globals, stomp_globals)
static zend_class_entry *tidy_ce_doc, *tidy_ce_node; static zend_object_handlers tidy_object_handlers_doc; static zend_object_handlers tidy_object_handlers_node; zend_module_entry tidy_module_entry = { STANDARD_MODULE_HEADER, "tidy", tidy_functions, PHP_MINIT(tidy), PHP_MSHUTDOWN(tidy), PHP_RINIT(tidy), NULL, PHP_MINFO(tidy), PHP_TIDY_VERSION, PHP_MODULE_GLOBALS(tidy), NULL, NULL, NULL, STANDARD_MODULE_PROPERTIES_EX }; #ifdef COMPILE_DL_TIDY #ifdef ZTS ZEND_TSRMLS_CACHE_DEFINE(); #endif ZEND_GET_MODULE(tidy) #endif static void* TIDY_CALL php_tidy_malloc(size_t len) {
PHP_FE(recode_file, arginfo_recode_file) PHP_FALIAS(recode, recode_string, arginfo_recode_string) {NULL, NULL, NULL} }; zend_module_entry recode_module_entry = { STANDARD_MODULE_HEADER, "recode", php_recode_functions, PHP_MINIT(recode), PHP_MSHUTDOWN(recode), NULL, NULL, PHP_MINFO(recode), NO_VERSION_YET, PHP_MODULE_GLOBALS(recode), PHP_GINIT(recode), NULL, NULL, STANDARD_MODULE_PROPERTIES_EX }; #ifdef COMPILE_DL_RECODE ZEND_GET_MODULE(recode) #endif static PHP_GINIT_FUNCTION(recode) { recode_globals->outer = NULL; }
/* }}} */ /* {{{ json_module_entry */ zend_module_entry json_module_entry = { STANDARD_MODULE_HEADER, "json", json_functions, PHP_MINIT(json), NULL, NULL, NULL, PHP_MINFO(json), PHP_JSON_VERSION, PHP_MODULE_GLOBALS(json), PHP_GINIT(json), NULL, NULL, STANDARD_MODULE_PROPERTIES_EX }; /* }}} */ #ifdef COMPILE_DL_JSON ZEND_GET_MODULE(json) #endif /* {{{ PHP_MINFO_FUNCTION */ static PHP_MINFO_FUNCTION(json) {
#define SNMP_CMD_REALWALK 4 #define SNMP_CMD_SET 11 /* {{{ snmp_module_entry */ zend_module_entry snmp_module_entry = { STANDARD_MODULE_HEADER, "snmp", snmp_functions, PHP_MINIT(snmp), PHP_MSHUTDOWN(snmp), NULL, NULL, PHP_MINFO(snmp), NO_VERSION_YET, PHP_MODULE_GLOBALS(snmp), PHP_GINIT(snmp), NULL, NULL, STANDARD_MODULE_PROPERTIES_EX }; /* }}} */ #ifdef COMPILE_DL_SNMP ZEND_GET_MODULE(snmp) #endif /* THREAD_LS snmp_module php_snmp_module; - may need one of these at some point */ /* {{{ PHP_GINIT_FUNCTION */
static PHP_MINFO_FUNCTION(mcrypt); static PHP_MINIT_FUNCTION(mcrypt); static PHP_MSHUTDOWN_FUNCTION(mcrypt); ZEND_DECLARE_MODULE_GLOBALS(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, PHP_MODULE_GLOBALS(mcrypt), NULL, NULL, NULL, STANDARD_MODULE_PROPERTIES_EX }; #ifdef COMPILE_DL_MCRYPT ZEND_GET_MODULE(mcrypt) #endif #define MCRYPT_ENCRYPT 0 #define MCRYPT_DECRYPT 1 typedef enum { RANDOM = 0,
zend_module_entry apm_module_entry = { #if ZEND_MODULE_API_NO >= 20010901 STANDARD_MODULE_HEADER, #endif "apm", apm_functions, PHP_MINIT(apm), PHP_MSHUTDOWN(apm), PHP_RINIT(apm), PHP_RSHUTDOWN(apm), PHP_MINFO(apm), #if ZEND_MODULE_API_NO >= 20010901 "0.1.0", #endif PHP_MODULE_GLOBALS(apm), PHP_GINIT(apm), NULL, NULL, STANDARD_MODULE_PROPERTIES_EX }; #ifdef COMPILE_DL_APM ZEND_GET_MODULE(apm) #endif PHP_INI_BEGIN() /* Boolean controlling whether the extension is globally active or not */ STD_PHP_INI_BOOLEAN("apm.enabled", "1", PHP_INI_ALL, OnUpdateBool, enabled, zend_apm_globals, apm_globals) /* Boolean controlling whether the event monitoring is active or not */ STD_PHP_INI_BOOLEAN("apm.event_enabled", "1", PHP_INI_ALL, OnUpdateBool, event_enabled, zend_apm_globals, apm_globals)