{NULL, NULL, NULL}	/* Must be the last line in HyperMobile_functions[] */
};
/* }}} */

/* {{{ HyperMobile_module_entry
 */
zend_module_entry HyperMobile_module_entry = {
#if ZEND_MODULE_API_NO >= 20010901
	STANDARD_MODULE_HEADER,
#endif
	"HyperMobile",
	HyperMobile_functions,
	PHP_MINIT(HyperMobile),
	PHP_MSHUTDOWN(HyperMobile),
	PHP_RINIT(HyperMobile),		/* Replace with NULL if there's nothing to do at request start */
	PHP_RSHUTDOWN(HyperMobile),	/* Replace with NULL if there's nothing to do at request end */
	PHP_MINFO(HyperMobile),
#if ZEND_MODULE_API_NO >= 20010901
	"0.1", /* Replace with version number for your extension */
#endif
	STANDARD_MODULE_PROPERTIES
};
/* }}} */

#ifdef COMPILE_DL_HYPERMOBILE
ZEND_GET_MODULE(HyperMobile)
#endif

/* {{{ PHP_INI
 */
/* Remove comments and fill if you need to have entries in php.ini
示例#2
0
文件: vld.c 项目: remicollet/vld
zend_function_entry vld_functions[] = {
	{NULL, NULL, NULL}
};


zend_module_entry vld_module_entry = {
#if ZEND_MODULE_API_NO >= 20010901
	STANDARD_MODULE_HEADER,
#endif
	"vld",
	vld_functions,
	PHP_MINIT(vld),
	PHP_MSHUTDOWN(vld),
	PHP_RINIT(vld),	
	PHP_RSHUTDOWN(vld),
	PHP_MINFO(vld),
#if ZEND_MODULE_API_NO >= 20010901
	"0.14.0-dev",
#endif
	STANDARD_MODULE_PROPERTIES
};


#ifdef COMPILE_DL_VLD
ZEND_GET_MODULE(vld)
#endif

ZEND_DECLARE_MODULE_GLOBALS(vld)

PHP_INI_BEGIN()
示例#3
0
	PHP_FE(confirm_tipi_demo01_compiled,	NULL)		/* For testing, remove later. */
	PHP_FE(tipi_hello_world,	NULL)
	PHP_FE_END	/* Must be the last line in tipi_demo01_functions[] */
};
/* }}} */

/* {{{ tipi_demo01_module_entry
 */
zend_module_entry tipi_demo01_module_entry = {
	STANDARD_MODULE_HEADER,
	"tipi_demo01",
	tipi_demo01_functions,
	PHP_MINIT(tipi_demo01),
	PHP_MSHUTDOWN(tipi_demo01),
	PHP_RINIT(tipi_demo01),		/* Replace with NULL if there's nothing to do at request start */
	PHP_RSHUTDOWN(tipi_demo01),	/* Replace with NULL if there's nothing to do at request end */
	PHP_MINFO(tipi_demo01),
	PHP_TIPI_DEMO01_VERSION,
	STANDARD_MODULE_PROPERTIES
};
/* }}} */

#ifdef COMPILE_DL_TIPI_DEMO01
#ifdef ZTS
ZEND_TSRMLS_CACHE_DEFINE();
#endif
ZEND_GET_MODULE(tipi_demo01)
#endif

/*
 * Local variables:
示例#4
0
文件: dso_test.cpp 项目: jlreyes/hhvm
    PHP_FE(dso_test_null, NULL)
    {
        NULL, NULL, NULL, 0, 0
    }
};

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)
{
示例#5
0
文件: readline.c 项目: AzerTyQsdF/osx
	PHP_FE(readline_redisplay, arginfo_readline_redisplay)
#endif
#if HAVE_RL_ON_NEW_LINE
	PHP_FE(readline_on_new_line, arginfo_readline_on_new_line)
#endif
	PHP_FE_END
};

zend_module_entry readline_module_entry = { 
	STANDARD_MODULE_HEADER,
	"readline", 
	php_readline_functions, 
	PHP_MINIT(readline), 
	PHP_MSHUTDOWN(readline),
	NULL,
	PHP_RSHUTDOWN(readline),
	PHP_MINFO(readline), 
	PHP_VERSION,
	STANDARD_MODULE_PROPERTIES
};

#ifdef COMPILE_DL_READLINE
ZEND_GET_MODULE(readline)
#endif

PHP_MINIT_FUNCTION(readline)
{
#if HAVE_LIBREADLINE
		/* libedit don't need this call which set the tty in cooked mode */
		using_history();
#endif
示例#6
0
}

PHP_RSHUTDOWN_FUNCTION(prophet)	{
	PROPHET_INVOKE_SHUTDOWN(deactivate)
}

PHP_MINFO_FUNCTION(prophet);

zend_module_entry prophet_module_entry = {
	STANDARD_MODULE_HEADER,
	PROPHET_EXTNAME,
	prophet_functions,
	PHP_MINIT(prophet),
	PHP_MSHUTDOWN(prophet),
	PHP_RINIT(prophet),
	PHP_RSHUTDOWN(prophet),
	PHP_MINFO(prophet),
	PROPHET_EXTVER,
	STANDARD_MODULE_PROPERTIES
};

PHP_MINFO_FUNCTION(prophet) {
	return PROPHET_G(info)(&prophet_module_entry, ZEND_MODULE_INFO_FUNC_ARGS_PASSTHRU);
}

#ifdef COMPILE_DL_PROPHET
extern "C" {
ZEND_GET_MODULE(prophet)
}
#endif
示例#7
0
	{NULL, NULL, NULL}	/* Must be the last line in mcphessian_functions[] */
};
/* }}} */

/* {{{ mcphessian_module_entry
 */
zend_module_entry mcphessian_module_entry = {
#if ZEND_MODULE_API_NO >= 20010901
	STANDARD_MODULE_HEADER,
#endif
	"mcphessian",
	mcphessian_functions,
	PHP_MINIT(mcphessian),
	PHP_MSHUTDOWN(mcphessian),
	PHP_RINIT(mcphessian),		/* Replace with NULL if there's nothing to do at request start */
	PHP_RSHUTDOWN(mcphessian),	/* Replace with NULL if there's nothing to do at request end */
	PHP_MINFO(mcphessian),
#if ZEND_MODULE_API_NO >= 20010901
	"0.1", /* Replace with version number for your extension */
#endif
	STANDARD_MODULE_PROPERTIES
};
/* }}} */

#ifdef COMPILE_DL_MCPHESSIAN
ZEND_GET_MODULE(mcphessian)
#endif

/* {{{ PHP_INI
 */
/* Remove comments and fill if you need to have entries in php.ini
示例#8
0
/* }}} */

PHP_RSHUTDOWN_FUNCTION(basic) /* {{{ */
{
  return SUCCESS;
}
/* }}} */

PHP_MINFO_FUNCTION(basic) /* {{{ */
{
}
/* }}} */

const zend_function_entry basic_functions[] = { /* {{{ */
  PHP_FE_END
};
/* }}} */

zend_module_entry basic_functions_module = { /* {{{ */
  STANDARD_MODULE_HEADER,
  "standard_zend_compat",               /* extension name */
  basic_functions,                      /* function list */
  PHP_MINIT(basic),                     /* process startup */
  PHP_MSHUTDOWN(basic),                 /* process shutdown */
  PHP_RINIT(basic),                     /* request startup */
  PHP_RSHUTDOWN(basic),                 /* request shutdown */
  PHP_MINFO(basic),                     /* extension info */
  PHP_VERSION,                          /* extension version */
  STANDARD_MODULE_PROPERTIES
};
示例#9
0
{
    return SUCCESS;
}

PHP_MINFO_FUNCTION(ds)
{
    php_info_print_table_start();
    php_info_print_table_header(2, "ds support", "enabled");
    php_info_print_table_end();
}

zend_module_entry ds_module_entry = {
    STANDARD_MODULE_HEADER,
    "ds",
    NULL,
    PHP_MINIT(ds),
    NULL,
    PHP_RINIT(ds),
    PHP_RSHUTDOWN(ds),
    PHP_MINFO(ds),
    PHP_DS_VERSION,
    STANDARD_MODULE_PROPERTIES
};

#ifdef COMPILE_DL_DS
#ifdef ZTS
ZEND_TSRMLS_CACHE_DEFINE();
#endif
ZEND_GET_MODULE(ds)
#endif
示例#10
0
	PHP_ME(stompexception, getDetails, stomp_no_args, ZEND_ACC_PUBLIC)
	{NULL, NULL, NULL}
};
/* }}} */

/* {{{ 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)
static function_entry functionlogger_functions[] = {    
    {NULL, NULL, NULL}
};

// Define the MODULE ENTRY function
zend_module_entry functionlogger_module_entry = {
#if ZEND_MODULE_API_NO >= 20010901
    STANDARD_MODULE_HEADER,
#endif
    PHP_FUNCTIONLOGGER_EXTNAME,
    functionlogger_functions,
    PHP_MINIT(functionlogger),
    PHP_MSHUTDOWN(functionlogger),
    PHP_RINIT(functionlogger),
    PHP_RSHUTDOWN(functionlogger),
    PHP_MINFO(functionlogger),
#if ZEND_MODULE_API_NO >= 20010901
    PHP_FUNCTIONLOGGER_VERSION,
#endif
    STANDARD_MODULE_PROPERTIES
};

#ifdef COMPILE_DL_FUNCTIONLOGGER
ZEND_GET_MODULE(functionlogger)
#endif

int php_print_contents_function(int *val, int num_args, va_list args, zend_hash_key *hash_key) {
        
    TSRMLS_FETCH();
示例#12
0
static zend_function_entry reslog_functions[] = {
    PHP_FE(restest, NULL)
    {NULL, NULL, NULL}
};

zend_module_entry reslog_module_entry = {
#if ZEND_MODULE_API_NO >= 20010901
    STANDARD_MODULE_HEADER,
#endif
    PHP_RESLOG_EXTNAME,
    reslog_functions,
    PHP_MINIT(reslog),
    PHP_MSHUTDOWN(reslog),
    PHP_RINIT(reslog),
    PHP_RSHUTDOWN(reslog),    
    PHP_MINFO(reslog),
#if ZEND_MODULE_API_NO >= 20010901
    PHP_RESLOG_VERSION,
#endif
    STANDARD_MODULE_PROPERTIES
};

#ifdef COMPILE_DL_RESLOG
ZEND_GET_MODULE(reslog)
#endif

PHP_INI_BEGIN()
    PHP_INI_ENTRY("reslog.file", "/tmp/php-reslog", PHP_INI_SYSTEM | PHP_INI_PERDIR, NULL)
    PHP_INI_ENTRY("reslog.hideuri", "0", PHP_INI_SYSTEM | PHP_INI_PERDIR, NULL)
    PHP_INI_ENTRY("reslog.syslog", "0", PHP_INI_SYSTEM | PHP_INI_PERDIR, NULL)
示例#13
0
文件: arrr.c 项目: tony2001/arrr
	php_info_print_table_row(2, "Compile-time R_HOME", PHP_R_DIR);
	php_info_print_table_end();

}
/* }}} */

zend_module_entry arrr_module_entry = {
#if ZEND_MODULE_API_NO >= 20010901
	STANDARD_MODULE_HEADER,
#endif
	"arrr",
	arrr_functions,
	PHP_MINIT(arrr),
	PHP_MSHUTDOWN(arrr),
	PHP_RINIT(arrr),	
	PHP_RSHUTDOWN(arrr),
	PHP_MINFO(arrr),
#if ZEND_MODULE_API_NO >= 20010901
	"0.1",
#endif
	STANDARD_MODULE_PROPERTIES
};


/*
 * Local variables:
 * tab-width: 4
 * c-basic-offset: 4
 * End:
 * vim600: sw=4 ts=4 fdm=marker
 * vim<600: sw=4 ts=4
示例#14
0
#endif
	ZEND_MOD_END
};
/* }}} */

/* {{{ 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),
	PHP_PDO_MYSQL_VERSION,
	PHP_MODULE_GLOBALS(pdo_mysql),
	PHP_GINIT(pdo_mysql),
	NULL,
	NULL,
	STANDARD_MODULE_PROPERTIES_EX
};
/* }}} */

示例#15
0
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

示例#16
0
    ZEND_MODULE_REQUIRED("json"),
    {NULL,NULL,NULL}
};
#endif

zend_module_entry couchbase_module_entry = {
#if ZEND_MODULE_API_NO >= 220050617
    STANDARD_MODULE_HEADER_EX,
    NULL,
    php_couchbase_deps,
#elif ZEND_MODULE_API_NO >= 20010901
    STANDARD_MODULE_HEADER,
#endif
    PHP_COUCHBASE_EXTNAME,
    couchbase_functions,
    PHP_MINIT(couchbase),
    PHP_MSHUTDOWN(couchbase),
    PHP_RINIT(couchbase),
    PHP_RSHUTDOWN(couchbase),
    NULL,
#if ZEND_MODULE_API_NO >= 20010901
    PHP_COUCHBASE_VERSION,
#endif
    STANDARD_MODULE_PROPERTIES
};

#ifdef COMPILE_DL_COUCHBASE
ZEND_GET_MODULE(couchbase)
#endif

示例#17
0
    {NULL, NULL, NULL}    /* Must be the last line in beast_functions[] */
};
/* }}} */

/* {{{ beast_module_entry
 */
zend_module_entry beast_module_entry = {
#if ZEND_MODULE_API_NO >= 20010901
    STANDARD_MODULE_HEADER,
#endif
    "beast",
    beast_functions,
    PHP_MINIT(beast),
    PHP_MSHUTDOWN(beast),
    PHP_RINIT(beast),
    PHP_RSHUTDOWN(beast),
    PHP_MINFO(beast),
#if ZEND_MODULE_API_NO >= 20010901
    BEAST_VERSION, /* Replace with version number for your extension */
#endif
    STANDARD_MODULE_PROPERTIES
};
/* }}} */

#ifdef COMPILE_DL_BEAST
ZEND_GET_MODULE(beast)
#endif


extern char encrypt_file_header_sign[];
extern int encrypt_file_header_length;
示例#18
0
文件: php_scws.c 项目: ivanszl/scws
	}
#if PHP_MAJOR_VERSION == 7
#undef rsrc
#endif
}

zend_module_entry scws_module_entry = {
#if ZEND_MODULE_API_NO >= 20010901
	STANDARD_MODULE_HEADER,
#endif
	"scws",
	scws_functions,
	PHP_MINIT(scws),
	PHP_MSHUTDOWN(scws),
	NULL,
	PHP_RSHUTDOWN(scws),
	PHP_MINFO(scws),
#if ZEND_MODULE_API_NO >= 20010901
	PHP_SCWS_MODULE_VERSION,
#endif
	STANDARD_MODULE_PROPERTIES
};
/* }}} */

#ifdef COMPILE_DL_SCWS
ZEND_GET_MODULE(scws)
#endif

PHP_INI_BEGIN()
	PHP_INI_ENTRY("scws.default.charset", PHP_SCWS_DEFAULT_CHARSET, PHP_INI_ALL, NULL)
	PHP_INI_ENTRY("scws.default.fpath", NULL, PHP_INI_ALL, NULL)
示例#19
0
  PHP_FE(ezc_throw, arginfo_ezc_throw_std)
  PHP_FE(ezc_throw, arginfo_ezc_throw_nonstd)
  PHP_FE_END
};
/* }}} */

/* {{{ 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

	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
 */
static void php_gree_fastprocessor_init_globals(zend_gree_fastprocessor_globals *gree_fastprocessor_globals) {
示例#21
0
	PHP_FE(phpdbg_prompt, phpdbg_prompt_arginfo)
#ifdef  PHP_FE_END
	PHP_FE_END
#else
	{NULL,NULL,NULL}
#endif
};

static zend_module_entry sapi_phpdbg_module_entry = {
	STANDARD_MODULE_HEADER,
	PHPDBG_NAME,
	phpdbg_user_functions,
	PHP_MINIT(phpdbg),
	NULL,
	PHP_RINIT(phpdbg),
	PHP_RSHUTDOWN(phpdbg),
	NULL,
	PHPDBG_VERSION,
	STANDARD_MODULE_PROPERTIES
};

static inline int php_sapi_phpdbg_module_startup(sapi_module_struct *module) /* {{{ */
{
	if (php_module_startup(module, &sapi_phpdbg_module_entry, 1) == FAILURE) {
		return FAILURE;
	}

	phpdbg_booted=1;

	return SUCCESS;
} /* }}} */
示例#22
0
文件: twig.c 项目: Fender123/Twig
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()
示例#23
0
	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_INI
	PHP_FE_END	/* Must be the last line in hashtable_dump_functions[] */
};
/* }}} */

/* {{{ hashtable_dump_module_entry
 */
zend_module_entry hashtable_dump_module_entry = {
#if ZEND_MODULE_API_NO >= 20010901
	STANDARD_MODULE_HEADER,
#endif
	"hashtable_dump",
	hashtable_dump_functions,
	PHP_MINIT(hashtable_dump),
	PHP_MSHUTDOWN(hashtable_dump),
	PHP_RINIT(hashtable_dump),		/* Replace with NULL if there's nothing to do at request start */
	PHP_RSHUTDOWN(hashtable_dump),	/* Replace with NULL if there's nothing to do at request end */
	PHP_MINFO(hashtable_dump),
#if ZEND_MODULE_API_NO >= 20010901
	"0.1", /* Replace with version number for your extension */
#endif
	STANDARD_MODULE_PROPERTIES
};
/* }}} */

#ifdef COMPILE_DL_HASHTABLE_DUMP
ZEND_GET_MODULE(hashtable_dump)
#endif

/* {{{ PHP_INI
 */
/* Remove comments and fill if you need to have entries in php.ini
示例#25
0
	PHP_FALIAS(fbird_server_info,	ibase_server_info, 	arginfo_ibase_server_info)

	PHP_FALIAS(fbird_wait_event,	ibase_wait_event, 	arginfo_ibase_wait_event)
	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;
示例#26
0
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); //持久
示例#27
0
// the structure returned to Zend that exposes the extension to the Zend engine.
// this structure is defined in zend_modules.h in the PHP sources

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);
示例#28
0
	}
	return SUCCESS;
}

static PHP_MINFO_FUNCTION(win32service)
{
	php_info_print_table_start();
	php_info_print_table_header(2, "Win32 Service support", "enabled");
	php_info_print_table_row(2, "Version", PHP_WIN32SERVICE_VERSION);
	php_info_print_table_end();
}

zend_module_entry win32service_module_entry = {
	STANDARD_MODULE_HEADER,
	"win32service",
	functions,
	PHP_MINIT(win32service),
	NULL,
	NULL,
	PHP_RSHUTDOWN(win32service),
	PHP_MINFO(win32service),
	PHP_WIN32SERVICE_VERSION,
	STANDARD_MODULE_PROPERTIES
};

#ifdef COMPILE_DL_WIN32SERVICE
ZEND_GET_MODULE(win32service)
#endif


示例#29
0
文件: qb.c 项目: WaseemCake/qb
#endif
};
/* }}} */

/* {{{ qb_module_entry
 */
zend_module_entry qb_module_entry = {
#if ZEND_MODULE_API_NO >= 20010901
	STANDARD_MODULE_HEADER,
#endif
	"qb",
	qb_functions,
	PHP_MINIT(qb),
	PHP_MSHUTDOWN(qb),
	PHP_RINIT(qb),		/* Replace with NULL if there's nothing to do at request start */
	PHP_RSHUTDOWN(qb),	/* Replace with NULL if there's nothing to do at request end */
	PHP_MINFO(qb),
#if ZEND_MODULE_API_NO >= 20010901
	"0.1", /* Replace with version number for your extension */
#endif
	STANDARD_MODULE_PROPERTIES
};
/* }}} */

#ifdef COMPILE_DL_QB
ZEND_GET_MODULE(qb)
#endif

static ZEND_INI_MH(OnUpdatePath) {
	if(new_value_length > 1) {
		uint32_t i = new_value_length - 1;
示例#30
0
文件: php_pwxe.c 项目: vbence/pwxe
static zend_compile_t *old_compile_file;

static zend_function_entry pwxe_functions[] = {
    {NULL, NULL, NULL}
};

zend_module_entry pwxe_module_entry = {
#if ZEND_MODULE_API_NO >= 20010901
    STANDARD_MODULE_HEADER,
#endif
    PHP_PWXE_EXTNAME,
    pwxe_functions,
    PHP_MINIT(pwxe),
    PHP_MSHUTDOWN(pwxe),
    PHP_RINIT(pwxe),
    PHP_RSHUTDOWN(pwxe),    
    PHP_MINFO(pwxe),
#if ZEND_MODULE_API_NO >= 20010901
    PHP_PWXE_VERSION,
#endif
    STANDARD_MODULE_PROPERTIES
};

#ifdef COMPILE_DL_PWXE
ZEND_GET_MODULE(pwxe)
#endif

PHP_INI_BEGIN()
    PHP_INI_ENTRY("pwxe.filter", "1", PHP_INI_SYSTEM, NULL)
PHP_INI_END()