本文整理汇总了C++中PHP_GINIT函数的典型用法代码示例。如果您正苦于以下问题:C++ PHP_GINIT函数的具体用法?C++ PHP_GINIT怎么用?C++ PHP_GINIT使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了PHP_GINIT函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: PHP_MINIT
ad_config_deps,
#else
STANDARD_MODULE_HEADER,
#endif
"ad_config",
ad_config_functions,
PHP_MINIT(ad_config),
PHP_MSHUTDOWN(ad_config),
PHP_RINIT(ad_config), /* Replace with NULL if there's nothing to do at request start */
PHP_RSHUTDOWN(ad_config), /* Replace with NULL if there's nothing to do at request end */
PHP_MINFO(ad_config),
#if ZEND_MODULE_API_NO >= 20010901
"0.1", /* Replace with version number for your extension */
#endif
PHP_MODULE_GLOBALS(ad_config),
PHP_GINIT(ad_config),
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
开发者ID:maomao2011,项目名称:Ad_Config,代码行数:31,代码来源:ad_config.c
示例2: PHP_MSHUTDOWN_FUNCTION
static PHP_MSHUTDOWN_FUNCTION(mcrypt);
static PHP_GINIT_FUNCTION(mcrypt);
static PHP_GSHUTDOWN_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),
PHP_MCRYPT_VERSION,
PHP_MODULE_GLOBALS(mcrypt),
PHP_GINIT(mcrypt),
PHP_GSHUTDOWN(mcrypt),
NULL,
STANDARD_MODULE_PROPERTIES_EX
};
#ifdef COMPILE_DL_MCRYPT
#ifdef ZTS
ZEND_TSRMLS_CACHE_DEFINE()
#endif
ZEND_GET_MODULE(mcrypt)
#endif
#define MCRYPT_ENCRYPT 0
#define MCRYPT_DECRYPT 1
开发者ID:dsp,项目名称:php-src,代码行数:30,代码来源:mcrypt.c
示例3: PHP_MINIT
/* {{{ 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)
{
php_info_print_table_start();
开发者ID:Jeffy23,项目名称:php-src,代码行数:29,代码来源:json.c
示例4: PHP_MINIT
#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)
{
开发者ID:forgotting,项目名称:php-src,代码行数:30,代码来源:pcntl.c
示例5: PHP_MINIT
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) {
}
开发者ID:maniacs-ops,项目名称:protobuf,代码行数:30,代码来源:protobuf.c
示例6: PHP_MINIT
/* }}} */
/* {{{ 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_NUM_ARGS()) WRONG_PARAM_COUNT;
#define PHP_POSIX_RETURN_LONG_FUNC(func_name) \
PHP_POSIX_NO_ARGS \
RETURN_LONG(func_name());
开发者ID:netw3rker,项目名称:dreamhost_php52,代码行数:31,代码来源:posix.c
示例7: PHP_MINIT
#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 */
static PHP_GINIT_FUNCTION(pdo)
开发者ID:do-aki,项目名称:petipeti,代码行数:31,代码来源:pdo.c
示例8: PHP_MINIT
NULL,
yaml_deps,
#else
STANDARD_MODULE_HEADER,
#endif
"yaml",
yaml_functions,
PHP_MINIT(yaml),
PHP_MSHUTDOWN(yaml),
NULL, /* RINIT */
NULL, /* RSHUTDOWN */
PHP_MINFO(yaml),
PHP_YAML_MODULE_VERSION,
#if ZEND_EXTENSION_API_NO >= 220060519
PHP_MODULE_GLOBALS(yaml),
PHP_GINIT(yaml),
NULL,
NULL,
STANDARD_MODULE_PROPERTIES_EX
#else
STANDARD_MODULE_PROPERTIES
#endif
};
/* }}} */
#ifdef COMPILE_DL_YAML
ZEND_GET_MODULE(yaml)
#endif
开发者ID:360buyliulei,项目名称:hiphop-php,代码行数:29,代码来源:yaml.cpp
示例9: PHP_MINIT
/* }}} */
/* {{{ libpuzzle5_module_entry
*/
zend_module_entry libpuzzle5_module_entry = {
STANDARD_MODULE_HEADER,
"libpuzzle5",
libpuzzle5_functions,
PHP_MINIT(libpuzzle5),
PHP_MSHUTDOWN(libpuzzle5),
PHP_RINIT(libpuzzle5),
PHP_RSHUTDOWN(libpuzzle5),
PHP_MINFO(libpuzzle5),
NO_VERSION_YET,
PHP_MODULE_GLOBALS(libpuzzle5),
PHP_GINIT(libpuzzle5),
PHP_GSHUTDOWN(libpuzzle5),
NULL,
STANDARD_MODULE_PROPERTIES_EX
};
/* }}} */
#ifdef COMPILE_DL_LIBPUZZLE5
ZEND_GET_MODULE(libpuzzle5)
#endif
/* {{{ PHP_GINIT_FUNCTION
*/
PHP_GINIT_FUNCTION(libpuzzle5)
{
开发者ID:alfa-jpn,项目名称:php-libpuzzle5,代码行数:31,代码来源:libpuzzle5.c
示例10: PHP_MINIT
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)
PHP_INI_END()
开发者ID:codingDuan,项目名称:pecl-tools-stomp,代码行数:31,代码来源:php_stomp.c
示例11: PHP_GINIT_FUNCTION
static PHP_GINIT_FUNCTION(intl);
/* {{{ intl_module_entry */
zend_module_entry intl_module_entry = {
STANDARD_MODULE_HEADER,
"intl",
intl_functions,
PHP_MINIT( intl ),
PHP_MSHUTDOWN( intl ),
PHP_RINIT( intl ),
PHP_RSHUTDOWN( intl ),
PHP_MINFO( intl ),
INTL_MODULE_VERSION,
PHP_MODULE_GLOBALS(intl), /* globals descriptor */
PHP_GINIT(intl), /* globals ctor */
NULL, /* globals dtor */
NULL, /* post deactivate */
STANDARD_MODULE_PROPERTIES_EX
};
/* }}} */
#ifdef COMPILE_DL_INTL
#ifdef ZTS
ZEND_TSRMLS_CACHE_DEFINE()
#endif
ZEND_GET_MODULE( intl )
#endif
/* {{{ intl_init_globals */
static PHP_GINIT_FUNCTION(intl)
开发者ID:GreenLightt,项目名称:php-src,代码行数:30,代码来源:php_intl.c
示例12: defined
#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,
int oserr, char *dberrstr, char *oserrstr)
开发者ID:AllenJB,项目名称:php-src,代码行数:31,代码来源:pdo_dblib.c
示例13: PHP_MINIT
zend_module_entry signal_handler_module_entry = {
#if ZEND_MODULE_API_NO >= 20010901
STANDARD_MODULE_HEADER,
#endif
"signal_handler",
signal_handler_functions,
PHP_MINIT(signal_handler),
PHP_MSHUTDOWN(signal_handler),
PHP_RINIT(signal_handler),
PHP_RSHUTDOWN(signal_handler),
PHP_MINFO(signal_handler),
#if ZEND_MODULE_API_NO >= 20010901
PHP_SIGNAL_HANDLER_VERSION,
#endif
PHP_MODULE_GLOBALS(signal_handler),
PHP_GINIT(signal_handler),
NULL,
NULL,
STANDARD_MODULE_PROPERTIES_EX
};
/* }}} */
#ifdef COMPILE_DL_SIGNAL_HANDLER
ZEND_GET_MODULE(signal_handler)
#endif
/* {{{ PHP_GINIT_FUNCTION
*/
static PHP_GINIT_FUNCTION(signal_handler)
{
memset(signal_handler_globals, 0, sizeof(*signal_handler_globals));
开发者ID:ArtemGordinsky,项目名称:php-signal-handler,代码行数:31,代码来源:signal_handler.c
示例14: ZEND_MOD_OPTIONAL
ZEND_MOD_OPTIONAL("mcrypt")
ZEND_MOD_OPTIONAL("openssl")
ZEND_MOD_OPTIONAL("pdo")
ZEND_MOD_OPTIONAL("gd")
ZEND_MOD_OPTIONAL("imagick")
ZEND_MOD_END
};
zend_module_entry phalcon_module_entry = {
STANDARD_MODULE_HEADER_EX,
ini_entries,
phalcon_deps,
PHP_PHALCON_EXTNAME,
NULL,
PHP_MINIT(phalcon),
PHP_MSHUTDOWN(phalcon),
PHP_RINIT(phalcon),
PHP_RSHUTDOWN(phalcon),
PHP_MINFO(phalcon),
PHP_PHALCON_VERSION,
ZEND_MODULE_GLOBALS(phalcon),
PHP_GINIT(phalcon),
PHP_GSHUTDOWN(phalcon),
ZEND_MODULE_POST_ZEND_DEACTIVATE_N(phalcon),
STANDARD_MODULE_PROPERTIES_EX
};
#ifdef COMPILE_DL_PHALCON
ZEND_GET_MODULE(phalcon)
#endif
开发者ID:naheedakhtar,项目名称:docker-phalcon,代码行数:30,代码来源:phalcon.c
示例15: PHP_MINIT
/* }}} */
/* {{{ 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,
global_value, zend_grpc_globals, grpc_globals)
开发者ID:kpayson64,项目名称:grpc,代码行数:31,代码来源:php_grpc.c
示例16: PHP_MINIT
#if ZEND_MODULE_API_NO >= 20050922
STANDARD_MODULE_HEADER_EX, NULL,
yaf_deps,
#else
STANDARD_MODULE_HEADER,
#endif
"yaf",
yaf_functions,
PHP_MINIT(yaf),
PHP_MSHUTDOWN(yaf),
PHP_RINIT(yaf),
PHP_RSHUTDOWN(yaf),
PHP_MINFO(yaf),
PHP_YAF_VERSION,
PHP_MODULE_GLOBALS(yaf),
PHP_GINIT(yaf),
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
*/
开发者ID:Alhep,项目名称:php-yaf,代码行数:30,代码来源:yaf.c
示例17: PHP_GINIT_FUNCTION
#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; \
int ac = ZEND_NUM_ARGS()
开发者ID:greenlion,项目名称:warpsql,代码行数:31,代码来源:dba.c
示例18: PHP_MINIT
#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 }
};
开发者ID:going1000,项目名称:php-src,代码行数:30,代码来源:xml.c
示例19: PHP_MINIT
#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_GINIT_FUNCTION(snmp)
开发者ID:dashiwa,项目名称:php52-backports,代码行数:31,代码来源:snmp.c
示例20: PHP_FALIAS
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),
PHP_INTERBASE_VERSION,
PHP_MODULE_GLOBALS(ibase),
PHP_GINIT(ibase),
NULL,
NULL,
STANDARD_MODULE_PROPERTIES_EX
};
#ifdef COMPILE_DL_INTERBASE
#ifdef ZTS
ZEND_TSRMLS_CACHE_DEFINE()
#endif
ZEND_GET_MODULE(ibase)
#endif
/* True globals, no need for thread safety */
int le_link, le_plink, le_trans;
开发者ID:Mingyangzu,项目名称:php-src,代码行数:30,代码来源:interbase.c
注:本文中的PHP_GINIT函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论