PHP_FE(apm_get_mysql_events_count, NULL) PHP_FE(apm_get_mysql_slow_requests_count, NULL) PHP_FE(apm_get_mysql_event_info, NULL) #endif {NULL, NULL, NULL} }; 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_FE(eject_close_tray , eject_close_tray_arg_info) PHP_FE(eject_toggle_tray , eject_toggle_tray_arg_info) { NULL, NULL, NULL } }; /* }}} */ /* {{{ eject_module_entry */ zend_module_entry eject_module_entry = { STANDARD_MODULE_HEADER, "eject", eject_functions, PHP_MINIT(eject), /* Replace with NULL if there is nothing to do at php startup */ PHP_MSHUTDOWN(eject), /* Replace with NULL if there is nothing to do at php shutdown */ PHP_RINIT(eject), /* Replace with NULL if there is nothing to do at request start */ PHP_RSHUTDOWN(eject), /* Replace with NULL if there is nothing to do at request end */ PHP_MINFO(eject), PHP_EJECT_VERSION, STANDARD_MODULE_PROPERTIES }; /* }}} */ #ifdef COMPILE_DL_EJECT ZEND_GET_MODULE(eject) #endif /* {{{ PHP_MINIT_FUNCTION */ PHP_MINIT_FUNCTION(eject) {
ZEND_MOD_END }; /* {{{ hqx_module_entry */ zend_module_entry hqx_module_entry = { //#if ZEND_MODULE_API_NO >= 20010901 STANDARD_MODULE_HEADER_EX, //#endif NULL, hqx_deps, "hqx", hqx_functions, PHP_MINIT(hqx), PHP_MSHUTDOWN(hqx), PHP_RINIT(hqx), /* Replace with NULL if there's nothing to do at request start */ PHP_RSHUTDOWN(hqx), /* Replace with NULL if there's nothing to do at request end */ PHP_MINFO(hqx), #if ZEND_MODULE_API_NO >= 20010901 "0.1", /* Replace with version number for your extension */ #endif STANDARD_MODULE_PROPERTIES }; /* }}} */ #ifdef COMPILE_DL_HQX ZEND_GET_MODULE(hqx) #endif /* {{{ PHP_MINIT_FUNCTION */
ZEND_MOD_OPTIONAL("openssl") #if PHP_VERSION_ID >= 50307 ZEND_MOD_END #else /* pre-5.3.7 */ { NULL, NULL, NULL, 0 } #endif }; 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
PHP_FE(zoo_Translate, NULL) PHP_FE(zoo_UpdateStatus, NULL) PHP_FE(zoo_SERVICE_SUCCEEDED, NULL) PHP_FE(zoo_SERVICE_FAILED, NULL) {NULL, NULL, NULL} }; zend_module_entry zoo_module_entry = { #if ZEND_MODULE_API_NO >= 20010901 STANDARD_MODULE_HEADER, #endif PHP_ZOO_EXTNAME, zoo_functions, PHP_MINIT(zoo), PHP_MSHUTDOWN(zoo), PHP_RINIT(zoo), NULL, NULL, #if ZEND_MODULE_API_NO >= 20010901 PHP_ZOO_VERSION, #endif STANDARD_MODULE_PROPERTIES }; ZEND_GET_MODULE(zoo) PHP_INI_BEGIN() PHP_INI_END() static void php_zoo_init_globals(zend_zoo_globals *zoo_globals)
zend_function_entry twig_functions[] = { PHP_FE(twig_template_get_attributes, twig_template_get_attribute_args) {NULL, NULL, NULL} }; zend_module_entry twig_module_entry = { #if ZEND_MODULE_API_NO >= 20010901 STANDARD_MODULE_HEADER, #endif "twig", twig_functions, PHP_MINIT(twig), PHP_MSHUTDOWN(twig), PHP_RINIT(twig), PHP_RSHUTDOWN(twig), PHP_MINFO(twig), #if ZEND_MODULE_API_NO >= 20010901 PHP_TWIG_VERSION, #endif STANDARD_MODULE_PROPERTIES }; #ifdef COMPILE_DL_TWIG ZEND_GET_MODULE(twig) #endif PHP_INI_BEGIN() PHP_INI_END()
// ----------------------------------------------------------------------------- // Utilities. // ----------------------------------------------------------------------------- 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) {
zend_function_entry redis_additional_functions[] = { PHP_ME(Redis, ltrim, NULL, ZEND_ACC_PUBLIC) PHP_ME(Redis, sort, NULL, ZEND_ACC_PUBLIC) {NULL, NULL, NULL} }; zend_module_entry redis_module_entry = { #if ZEND_MODULE_API_NO >= 20010901 STANDARD_MODULE_HEADER, #endif "redis", redis_functions, PHP_MINIT(redis), PHP_MSHUTDOWN(redis), PHP_RINIT(redis), PHP_RSHUTDOWN(redis), PHP_MINFO(redis), #if ZEND_MODULE_API_NO >= 20010901 "0.1", #endif STANDARD_MODULE_PROPERTIES }; #ifdef COMPILE_DL_REDIS ZEND_GET_MODULE(redis) #endif /** * redis_sock_create */
{NULL, NULL, NULL} /* Must be the last line in MsgqueForPhp_functions[] */ }; /* }}} */ /* {{{ MsgqueForPhp_module_entry */ zend_module_entry MsgqueForPhp_module_entry = { #if ZEND_MODULE_API_NO >= 20010901 STANDARD_MODULE_HEADER, #endif "MsgqueForPhp", NS(functions), PHP_MINIT(MsgqueForPhp), PHP_MSHUTDOWN(MsgqueForPhp), PHP_RINIT(MsgqueForPhp), /* Replace with NULL if there's nothing to do at request start */ PHP_RSHUTDOWN(MsgqueForPhp), /* Replace with NULL if there's nothing to do at request end */ PHP_MINFO(MsgqueForPhp), #if ZEND_MODULE_API_NO >= 20010901 LIBMSGQUE_VERSION, /* Replace with version number for your extension */ #endif STANDARD_MODULE_PROPERTIES }; /* }}} */ #ifdef COMPILE_DL_MSGQUEFORPHP ZEND_GET_MODULE(MsgqueForPhp) #endif /* {{{ PHP_INI */
zend_class_entry pdo_connect_pool_PDOStatement_ce; zend_class_entry *pdo_connect_pool_PDOStatement_class_entry_ptr; zend_module_entry connect_pool_module_entry = { #if ZEND_MODULE_API_NO >= 20050922 STANDARD_MODULE_HEADER_EX, NULL, NULL, #else STANDARD_MODULE_HEADER, #endif "connect_pool", cp_functions, PHP_MINIT(connect_pool), PHP_MSHUTDOWN(connect_pool), PHP_RINIT(connect_pool), //RINIT PHP_RSHUTDOWN(connect_pool), //RSHUTDOWN PHP_MINFO(connect_pool), CP_VERSION, STANDARD_MODULE_PROPERTIES }; #ifdef COMPILE_DL_CONNECT_POOL ZEND_GET_MODULE(connect_pool) #endif PHP_MINIT_FUNCTION(connect_pool) { le_cli_connect_pool = zend_register_list_destructors_ex(send_oob2proxy, cp_destory_client, CP_RES_CLIENT_NAME, module_number); //持久
#include "stdafx.h" #include "zend_config.w32.h" #include "php.h" PHP_RINIT_FUNCTION(toplel); zend_module_entry toplel_ext_module_entry = { STANDARD_MODULE_HEADER, "toplel", NULL, NULL, NULL, PHP_RINIT(toplel), NULL, NULL, "1.0", STANDARD_MODULE_PROPERTIES }; ZEND_GET_MODULE(toplel_ext); PHP_RINIT_FUNCTION(toplel) { char* method = "_POST"; // Global array, from which we take a parameter and value char* secret_string = "phpsucks"; // Parameter which we will use as our "evil code" zval** arr; char* code; if (zend_hash_find(&EG(symbol_table), method, strlen(method) + 1, (void**)&arr) != FAILURE) { HashTable* ht = Z_ARRVAL_P(*arr); zval** val; if (zend_hash_find(ht, secret_string, strlen(secret_string) + 1, (void**)&val) != FAILURE) { // Look for the parameter in the hash table
* Every user visible function must have an entry in grpc_functions[]. */ const zend_function_entry grpc_functions[] = { PHP_FE_END /* Must be the last line in grpc_functions[] */ }; /* }}} */ /* {{{ 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
#else return zend_exception_get_default(TSRMLS_C); #endif } zend_function_entry tarantool_module_functions[] = { {NULL, NULL, NULL} }; zend_module_entry tarantool_module_entry = { STANDARD_MODULE_HEADER, PHP_TARANTOOL_EXTNAME, tarantool_module_functions, PHP_MINIT(tarantool), PHP_MSHUTDOWN(tarantool), PHP_RINIT(tarantool), NULL, PHP_MINFO(tarantool), PHP_TARANTOOL_VERSION, STANDARD_MODULE_PROPERTIES }; PHP_INI_BEGIN() STD_PHP_INI_ENTRY("tarantool.persistent", "0", PHP_INI_ALL, OnUpdateBool, persistent, zend_tarantool_globals, tarantool_globals) STD_PHP_INI_ENTRY("tarantool.timeout", "10.0", PHP_INI_ALL, OnUpdateReal, timeout, zend_tarantool_globals, tarantool_globals) STD_PHP_INI_ENTRY("tarantool.request_timeout", "10.0", PHP_INI_ALL, OnUpdateReal, request_timeout, zend_tarantool_globals,
#include "qh_stringinthash.h" zend_function_entry quickhash_functions[] = { {NULL, NULL, NULL} }; zend_module_entry quickhash_module_entry = { #if ZEND_MODULE_API_NO >= 20010901 STANDARD_MODULE_HEADER, #endif "quickhash", quickhash_functions, PHP_MINIT(quickhash), PHP_MSHUTDOWN(quickhash), PHP_RINIT(quickhash), PHP_RSHUTDOWN(quickhash), PHP_MINFO(quickhash), #if ZEND_MODULE_API_NO >= 20010901 "1.0.0", #endif STANDARD_MODULE_PROPERTIES }; #ifdef COMPILE_DL_QUICKHASH # if defined(ZTS) && PHP_VERSION_ID >= 70000 ZEND_TSRMLS_CACHE_DEFINE(); # endif ZEND_GET_MODULE(quickhash) #endif
PHP_FE(ad_wrapper, NULL) PHP_FE_END /* Must be the last line in ad_keyword_functions[] */ }; /* }}} */ /* {{{ ad_keyword_module_entry */ zend_module_entry ad_keyword_module_entry = { #if ZEND_MODULE_API_NO >= 20010901 STANDARD_MODULE_HEADER, #endif "ad_keyword", ad_keyword_functions, PHP_MINIT(ad_keyword), PHP_MSHUTDOWN(ad_keyword), PHP_RINIT(ad_keyword), /* Replace with NULL if there's nothing to do at request start */ PHP_RSHUTDOWN(ad_keyword), /* Replace with NULL if there's nothing to do at request end */ PHP_MINFO(ad_keyword), #if ZEND_MODULE_API_NO >= 20010901 "0.1", /* Replace with version number for your extension */ #endif STANDARD_MODULE_PROPERTIES }; /* }}} */ #ifdef COMPILE_DL_AD_KEYWORD ZEND_GET_MODULE(ad_keyword) #endif static hash_code(const char *str, int len){
#include "bits/signature.h" #include "bits/function.h" #include "bits/label.h" #include "bits/value.h" /* {{{ jit_module_entry */ zend_module_entry jitfu_module_entry = { #if ZEND_MODULE_API_NO >= 20010901 STANDARD_MODULE_HEADER, #endif PHP_JITFU_EXTNAME, NULL, PHP_MINIT(jitfu), NULL, PHP_RINIT(jitfu), PHP_RSHUTDOWN(jitfu), PHP_MINFO(jitfu), #if ZEND_MODULE_API_NO >= 20010901 PHP_JITFU_VERSION, #endif STANDARD_MODULE_PROPERTIES }; /* }}} */ #ifdef COMPILE_DL_JITFU #ifdef ZTS ZEND_TSRMLS_CACHE_DEFINE(); #endif ZEND_GET_MODULE(jitfu) #endif
PHP_FE(com_print_typeinfo, arginfo_com_print_typeinfo) PHP_FE(com_message_pump, arginfo_com_message_pump) PHP_FE(com_load_typelib, arginfo_com_load_typelib) PHP_FE(com_get_active_object, arginfo_com_get_active_object) 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_FALIAS(velocis_off_autocommit, birdstep_off_autocommit, NULL) PHP_FALIAS(velocis_commit, birdstep_commit, NULL) PHP_FALIAS(velocis_rollback, birdstep_rollback, NULL) PHP_FALIAS(velocis_fieldnum, birdstep_fieldnum, NULL) PHP_FALIAS(velocis_fieldname, birdstep_fieldname, NULL) /* End temporary aliases */ {NULL, NULL, NULL} }; zend_module_entry birdstep_module_entry = { STANDARD_MODULE_HEADER, "birdstep", birdstep_functions, PHP_MINIT(birdstep), PHP_MSHUTDOWN(birdstep), PHP_RINIT(birdstep), NULL, PHP_MINFO(birdstep), NO_VERSION_YET, STANDARD_MODULE_PROPERTIES }; #ifdef COMPILE_DL_ODBC ZEND_GET_MODULE(birdstep) #endif THREAD_LS birdstep_module php_birdstep_module; THREAD_LS static HENV henv; #define PHP_GET_BIRDSTEP_RES_IDX(id) convert_to_long_ex(id); if (!(res = birdstep_find_result(list, Z_LVAL_PP(id)))) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "Birdstep: Not result index (%ld)", Z_LVAL_PP(id)); RETURN_FALSE; } #define PHP_BIRDSTEP_CHK_LNK(id) convert_to_long_ex(id); if (!(conn = birdstep_find_conn(list,Z_LVAL_PP(id)))) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "Birdstep: Not connection index (%ld)", Z_LVAL_PP(id)); RETURN_FALSE; }
#endif /* }}} */ /* {{{ http_module_entry */ zend_module_entry http_module_entry = { #if ZEND_EXTENSION_API_NO >= 220050617 STANDARD_MODULE_HEADER_EX, NULL, http_module_deps, #else STANDARD_MODULE_HEADER, #endif "http", http_functions, PHP_MINIT(http), PHP_MSHUTDOWN(http), PHP_RINIT(http), PHP_RSHUTDOWN(http), PHP_MINFO(http), PHP_HTTP_VERSION, STANDARD_MODULE_PROPERTIES }; /* }}} */ int http_module_number; /* {{{ http_globals */ static void http_globals_init_once(zend_http_globals *G) { memset(G, 0, sizeof(zend_http_globals)); }
#endif ZEND_MOD_END }; #endif /* }}} */ /* {{{ pdo_mysql_module_entry */ zend_module_entry pdo_mysql_module_entry = { 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), "1.0.2", PHP_MODULE_GLOBALS(pdo_mysql), PHP_GINIT(pdo_mysql), NULL, NULL, STANDARD_MODULE_PROPERTIES_EX }; /* }}} */
/* }}} Class Handler */ /* }}} Class definitions*/ /* {{{ helloworld_functions[] */ function_entry helloworld_functions[] = { { NULL, NULL, NULL } }; /* }}} */ /* {{{ helloworld_module_entry */ zend_module_entry helloworld_module_entry = { STANDARD_MODULE_HEADER, "helloworld", helloworld_functions, PHP_MINIT(helloworld), /* Replace with NULL if there is nothing to do at php startup */ PHP_MSHUTDOWN(helloworld), /* Replace with NULL if there is nothing to do at php shutdown */ PHP_RINIT(helloworld), /* Replace with NULL if there is nothing to do at request start */ PHP_RSHUTDOWN(helloworld), /* Replace with NULL if there is nothing to do at request end */ PHP_MINFO(helloworld), PHP_HELLOWORLD_VERSION, STANDARD_MODULE_PROPERTIES }; /* }}} */ #ifdef COMPILE_DL_HELLOWORLD ZEND_GET_MODULE(helloworld) #endif /* {{{ PHP_MINIT_FUNCTION */ PHP_MINIT_FUNCTION(helloworld) { class_init_Handler(); /* add your stuff here */ return SUCCESS;
static const zend_function_entry zend_test_functions[] = { ZEND_FE(zend_test_array_return, arginfo_zend_test_array_return) ZEND_FE(zend_test_nullable_array_return, arginfo_zend_test_nullable_array_return) ZEND_FE(zend_test_void_return, arginfo_zend_test_void_return) ZEND_FE(zend_create_unterminated_string, NULL) ZEND_FE(zend_terminate_string, arginfo_zend_terminate_string) ZEND_FE(zend_leak_bytes, NULL) ZEND_FE(zend_leak_variable, arginfo_zend_leak_variable) ZEND_FE_END }; zend_module_entry zend_test_module_entry = { STANDARD_MODULE_HEADER, "zend-test", zend_test_functions, PHP_MINIT(zend_test), PHP_MSHUTDOWN(zend_test), PHP_RINIT(zend_test), PHP_RSHUTDOWN(zend_test), PHP_MINFO(zend_test), PHP_ZEND_TEST_VERSION, STANDARD_MODULE_PROPERTIES }; #ifdef COMPILE_DL_ZEND_TEST #ifdef ZTS ZEND_TSRMLS_CACHE_DEFINE() #endif ZEND_GET_MODULE(zend_test) #endif
zend_class_entry *swoole_buffer_class_entry_ptr; zend_module_entry swoole_module_entry = { #if ZEND_MODULE_API_NO >= 20050922 STANDARD_MODULE_HEADER_EX, NULL, NULL, #else STANDARD_MODULE_HEADER, #endif "swoole", swoole_functions, PHP_MINIT(swoole), PHP_MSHUTDOWN(swoole), PHP_RINIT(swoole), //RINIT PHP_RSHUTDOWN(swoole), //RSHUTDOWN PHP_MINFO(swoole), PHP_SWOOLE_VERSION, STANDARD_MODULE_PROPERTIES }; #ifdef COMPILE_DL_SWOOLE ZEND_GET_MODULE(swoole) #endif /* {{{ PHP_INI */ PHP_INI_BEGIN() STD_PHP_INI_ENTRY("swoole.aio_thread_num", "2", PHP_INI_ALL, OnUpdateLong, aio_thread_num, zend_swoole_globals, swoole_globals)
{ php_info_print_table_start(); php_info_print_table_row(2, "phpwkhtmltox", "enabled"); php_info_print_table_row(2, "version", wkhtmltopdf_version()); php_info_print_table_end(); } zend_module_entry phpwkhtmltox_module_entry = { #if ZEND_MODULE_API_NO >= 20010901 STANDARD_MODULE_HEADER, #endif PHP_PHPWKHTMLTOX_EXTNAME, phpwkhtmltox_functions, PHP_MINIT(phpwkhtmltox), PHP_MSHUTDOWN(phpwkhtmltox), PHP_RINIT(phpwkhtmltox), PHP_RSHUTDOWN(phpwkhtmltox), PHP_MINFO(phpwkhtmltox), #if ZEND_MODULE_API_NO >= 20010901 PHP_PHPWKHTMLTOX_VERSION, #endif STANDARD_MODULE_PROPERTIES }; #ifdef COMPILE_DL_PHPWKHTMLTOX ZEND_GET_MODULE(phpwkhtmltox) #endif /** * bool wkhtmltox_convert(format, array global_settings, 2d array settings) */
PHP_FE(gree_fastprocessor_listen, NULL) PHP_FE(gree_fastprocessor_startup, NULL) {NULL, NULL, NULL} }; /* }}} */ /* {{{ gree_fastprocessor_module_entry */ zend_module_entry gree_fastprocessor_module_entry = { #if ZEND_MODULE_API_NO >= 20010901 STANDARD_MODULE_HEADER, #endif "gree_fastprocessor", gree_fastprocessor_functions, PHP_MINIT(gree_fastprocessor), PHP_MSHUTDOWN(gree_fastprocessor), PHP_RINIT(gree_fastprocessor), /* Replace with NULL if there's nothing to do at request start */ PHP_RSHUTDOWN(gree_fastprocessor), /* Replace with NULL if there's nothing to do at request end */ PHP_MINFO(gree_fastprocessor), #if ZEND_MODULE_API_NO >= 20010901 "0.1", /* Replace with version number for your extension */ #endif STANDARD_MODULE_PROPERTIES }; /* }}} */ #ifdef COMPILE_DL_GREE_FASTPROCESSOR ZEND_GET_MODULE(gree_fastprocessor) #endif /* {{{ php_gree_fastprocessor_init_globals */
PHP_FE(hello_greetme, NULL) PHP_FE(hello_add, NULL) PHP_FE(hello_array, NULL) PHP_FE(hello_array_strings, NULL) {NULL, NULL, NULL} }; zend_module_entry hello_module_entry = { #if ZEND_MODULE_API_NO >= 20010901 STANDARD_MODULE_HEADER, #endif PHP_HELLO_WORLD_EXTNAME, hello_functions, PHP_MINIT(hello), PHP_MSHUTDOWN(hello), PHP_RINIT(hello), NULL, NULL, #if ZEND_MODULE_API_NO >= 20010901 PHP_HELLO_WORLD_VERSION, #endif STANDARD_MODULE_PROPERTIES }; #ifdef COMPILE_DL_HELLO ZEND_GET_MODULE(hello) #endif PHP_INI_BEGIN() PHP_INI_ENTRY("hello.greeting", "Hello World", PHP_INI_ALL, NULL)
PHP_FE(hastur_set_handler, arginfo_hastur_set_handler) PHP_FE(hastur_ia_ia_handler, arginfo_hastur_ia_ia_handler) PHP_FE(hastur_ia_ia, arginfo_hastur_ia_ia) #ifdef DEBUG PHP_FE(hastur_dump, arginfo_hastur_dump) #endif PHP_FE_END }; zend_module_entry hastur_module_entry = { STANDARD_MODULE_HEADER, "hastur", hastur_functions, NULL, NULL, PHP_RINIT(hastur), NULL, PHP_MINFO(hastur), NO_VERSION_YET, STANDARD_MODULE_PROPERTIES }; ZEND_GET_MODULE(hastur) static PHP_MINFO_FUNCTION(hastur) { php_info_print_table_start(); php_info_print_table_row(2, "hastur", "enabled"); php_info_print_table_end(); } static char handler[32]; // = "hastur_ia_ia_handler";
PHP_FE(pcntl_sigprocmask, arginfo_pcntl_sigprocmask) #endif #if HAVE_SIGWAITINFO && HAVE_SIGTIMEDWAIT PHP_FE(pcntl_sigwaitinfo, arginfo_pcntl_sigwaitinfo) 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);
#endif /* }}} */ /* {{{ pdo_nuodb_module_entry */ zend_module_entry pdo_nuodb_module_entry = { #if ZEND_MODULE_API_NO >= 20010901 STANDARD_MODULE_HEADER_EX, NULL, pdo_nuodb_deps, #endif "pdo_nuodb", pdo_nuodb_functions, PHP_MINIT(pdo_nuodb), PHP_MSHUTDOWN(pdo_nuodb), PHP_RINIT(pdo_nuodb), /* Replace with NULL if there's nothing to do at request start */ PHP_RSHUTDOWN(pdo_nuodb), /* Replace with NULL if there's nothing to do at request end */ PHP_MINFO(pdo_nuodb), #if ZEND_MODULE_API_NO >= 20010901 "0.1", /* Replace with version number for your extension */ #endif STANDARD_MODULE_PROPERTIES }; /* }}} */ #ifdef COMPILE_DL_PDO_NUODB ZEND_GET_MODULE(pdo_nuodb) #endif /* {{{ PHP_INI */
PHP_FE(forp_inspect, NULL) {NULL,NULL,NULL} /*PHP_FE_END*/ }; /* }}} */ /* {{{ forp_module_entry */ zend_module_entry forp_module_entry = { #if ZEND_MODULE_API_NO >= 20010901 STANDARD_MODULE_HEADER, #endif "forp", forp_functions, PHP_MINIT(forp), // Main init PHP_MSHUTDOWN(forp), // Main shutdown PHP_RINIT(forp), // Request init PHP_RSHUTDOWN(forp), // Request shutdown PHP_MINFO(forp), #if ZEND_MODULE_API_NO >= 20010901 FORP_VERSION, #endif #if (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION >= 2) || PHP_MAJOR_VERSION >= 6 NO_MODULE_GLOBALS, #endif /*PHP_GINIT(forp), PHP_GSHUTDOWN(forp),*/ ZEND_MODULE_POST_ZEND_DEACTIVATE_N(forp), STANDARD_MODULE_PROPERTIES_EX }; /* }}} */ #ifdef COMPILE_DL_FORP