Exemple #1
0
	zend_throw_exception_ex(spl_ce_RuntimeException, 0,
		"%s is not suitable for use in multi threaded applications, use synchronized Threaded::wait",
		ZSTR_VAL(EX(func)->common.function_name));
}

static zend_function_entry pthreads_functions[] = {
	PHP_FE(pthreads_no_sleeping, pthreads_no_sleeping_arginfo)
	PHP_FE_END
};

zend_module_entry pthreads_module_entry = {
  STANDARD_MODULE_HEADER,
  PHP_PTHREADS_EXTNAME,
  pthreads_functions,
  PHP_MINIT(pthreads),
  PHP_MSHUTDOWN(pthreads),
  PHP_RINIT(pthreads),
  PHP_RSHUTDOWN(pthreads),
  PHP_MINFO(pthreads),
  PHP_PTHREADS_VERSION,
  NO_MODULE_GLOBALS,
  ZEND_MODULE_POST_ZEND_DEACTIVATE_N(pthreads),
  STANDARD_MODULE_PROPERTIES_EX
};

zend_class_entry *pthreads_threaded_entry;
zend_class_entry *pthreads_volatile_entry;
zend_class_entry *pthreads_thread_entry;
zend_class_entry *pthreads_worker_entry;
zend_class_entry *pthreads_collectable_entry;
zend_class_entry *pthreads_pool_entry;
Exemple #2
0
	ZEND_MOD_REQUIRED("pdo")
#ifdef PDO_USE_MYSQLND
	ZEND_MOD_REQUIRED("mysqlnd")
#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
};
Exemple #3
0
	PHP_FE(bcdiv,									arginfo_bcdiv)
	PHP_FE(bcmod,									arginfo_bcmod)
	PHP_FE(bcpow,									arginfo_bcpow)
	PHP_FE(bcsqrt,									arginfo_bcsqrt)
	PHP_FE(bcscale,									arginfo_bcscale)
	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
ZEND_GET_MODULE(bcmath)
#endif
Exemple #4
0
 */
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 = {
#if ZEND_MODULE_API_NO >= 20010901
  STANDARD_MODULE_HEADER,
#endif
  "grpc",
  grpc_functions,
  PHP_MINIT(grpc),
  PHP_MSHUTDOWN(grpc),
  NULL,
  NULL,
  PHP_MINFO(grpc),
#if ZEND_MODULE_API_NO >= 20010901
  PHP_GRPC_VERSION,
#endif
  STANDARD_MODULE_PROPERTIES};
/* }}} */

#ifdef COMPILE_DL_GRPC
ZEND_GET_MODULE(grpc)
#endif

/* {{{ PHP_INI
 */
Exemple #5
0
	PHP_FE(nl,	NULL)
	PHP_FE(md6,	NULL)
	PHP_FE_END	/* Must be the last line in nbphp_functions[] */
};
/* }}} */

/* {{{ nbphp_module_entry
 */
zend_module_entry nbphp_module_entry = {
#if ZEND_MODULE_API_NO >= 20010901
	STANDARD_MODULE_HEADER,
#endif
	"nbphp",
	nbphp_functions,
	PHP_MINIT(nbphp),
	PHP_MSHUTDOWN(nbphp),
	PHP_RINIT(nbphp),		/* Replace with NULL if there's nothing to do at request start */
	PHP_RSHUTDOWN(nbphp),	/* Replace with NULL if there's nothing to do at request end */
	PHP_MINFO(nbphp),
#if ZEND_MODULE_API_NO >= 20010901
	PHP_NBPHP_VERSION,
#endif
	STANDARD_MODULE_PROPERTIES
};
/* }}} */

#ifdef COMPILE_DL_NBPHP
ZEND_GET_MODULE(nbphp)
#endif

/* {{{ PHP_INI
Exemple #6
0
zend_class_entry swoole_server_ce;
zend_class_entry *swoole_server_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
 */
/* Remove comments and fill if you need to have entries in php.ini
 PHP_INI_BEGIN()
Exemple #7
0
    PHP_FE_END
};


#if COMPILE_DL_R3
ZEND_GET_MODULE(r3)
#endif

zend_module_entry r3_module_entry = {
#if ZEND_MODULE_API_NO >= 20010901
    STANDARD_MODULE_HEADER,
#endif
    "R3",
    r3_functions,
    PHP_MINIT(r3),
    PHP_MSHUTDOWN(r3),
    NULL,
    NULL,
    PHP_MINFO(r3),
#if ZEND_MODULE_API_NO >= 20010901
    "0.1",
#endif
    STANDARD_MODULE_PROPERTIES
};


static void php_r3_resource_persist_dtor(zend_rsrc_list_entry *rsrc TSRMLS_DC)
{
    php_r3_resource *res = (php_r3_resource*)rsrc->ptr;
    if (res) {
        if (res->node) {
Exemple #8
0
	PHP_FE(inotify_queue_len,		arginfo_inotify_queue_len)
	PHP_FE(inotify_read,			arginfo_inotify_read)
	{NULL, NULL, NULL}	/* Must be the last line in inotify_functions[] */
};
/* }}} */

/* {{{ inotify_module_entry
 */
zend_module_entry inotify_module_entry = {
#if ZEND_MODULE_API_NO >= 20010901
	STANDARD_MODULE_HEADER,
#endif
	"inotify",
	inotify_functions,
	PHP_MINIT(inotify),
	PHP_MSHUTDOWN(inotify),
	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 */
	PHP_MINFO(inotify),
#if ZEND_MODULE_API_NO >= 20010901
	PHP_INOTIFY_VERSION,
#endif
	STANDARD_MODULE_PROPERTIES
};
/* }}} */

#ifdef COMPILE_DL_INOTIFY
ZEND_GET_MODULE(inotify)
#endif

/* {{{ PHP_MINIT_FUNCTION
Exemple #9
0
	PHP_FE(enchant_dict_describe, 			arginfo_enchant_broker_free_dict)
	PHP_FE(enchant_dict_quick_check, 		arginfo_enchant_dict_quick_check)
	PHP_FE_END
};
/* }}} */

/* {{{ enchant_module_entry
 */
zend_module_entry enchant_module_entry = {
#if ZEND_MODULE_API_NO >= 20010901
	STANDARD_MODULE_HEADER,
#endif
	"enchant",
	enchant_functions,
	PHP_MINIT(enchant),
	PHP_MSHUTDOWN(enchant),
	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 */
	PHP_MINFO(enchant),
#if ZEND_MODULE_API_NO >= 20010901
	PHP_ENCHANT_VERSION,
#endif
	STANDARD_MODULE_PROPERTIES
};
/* }}} */

#ifdef COMPILE_DL_ENCHANT
ZEND_GET_MODULE(enchant)
#endif

static void
Exemple #10
0
	PHP_FALIAS(getallheaders, nsapi_request_headers, arginfo_nsapi_request_headers)	/* compatibility */
	PHP_FALIAS(apache_request_headers, nsapi_request_headers, arginfo_nsapi_request_headers)	/* compatibility */
	PHP_FE(nsapi_response_headers, arginfo_nsapi_response_headers)		/* get response headers */
	PHP_FALIAS(apache_response_headers, nsapi_response_headers, arginfo_nsapi_response_headers)	/* compatibility */
	{NULL, NULL, NULL}
};
/* }}} */

/* {{{ nsapi_module_entry
 */
zend_module_entry nsapi_module_entry = {
	STANDARD_MODULE_HEADER,
	"nsapi",
	nsapi_functions,
	PHP_MINIT(nsapi),
	PHP_MSHUTDOWN(nsapi),
	NULL,
	NULL,
	PHP_MINFO(nsapi),
	NO_VERSION_YET,
	STANDARD_MODULE_PROPERTIES
};
/* }}} */

/* {{{ PHP_INI
 */
PHP_INI_BEGIN()
    STD_PHP_INI_ENTRY("nsapi.read_timeout", "60", PHP_INI_ALL, OnUpdateLong, read_timeout, zend_nsapi_globals, nsapi_globals)
PHP_INI_END()
/* }}} */
Exemple #11
0
}

PHP_RSHUTDOWN_FUNCTION(phalcon){
	if (PHALCON_GLOBAL(active_memory) != NULL) {
		phalcon_clean_shutdown_stack(TSRMLS_C);
	}
	return SUCCESS;
}

zend_module_entry phalcon_module_entry = {
#if ZEND_MODULE_API_NO >= 20010901
	STANDARD_MODULE_HEADER,
#endif
	PHP_PHALCON_EXTNAME,
	NULL,
	PHP_MINIT(phalcon),
	PHP_MSHUTDOWN(phalcon),
	PHP_RINIT(phalcon),
	PHP_RSHUTDOWN(phalcon),
	NULL,
#if ZEND_MODULE_API_NO >= 20010901
	PHP_PHALCON_VERSION,
#endif
	STANDARD_MODULE_PROPERTIES
};

#ifdef COMPILE_DL_PHALCON
ZEND_GET_MODULE(phalcon)
#endif

Exemple #12
0
Fichier : tack.c Projet : jons/tack

static function_entry tack_functions[] = {
    PHP_FE(tk_parse, NULL)
    {NULL, NULL, NULL}
};


zend_module_entry tack_module_entry = {
#if ZEND_MODULE_API_NO >= 20010901
    STANDARD_MODULE_HEADER,
#endif
    PHP_TACK_EXTNAME,
    tack_functions,
    PHP_MINIT(tack),
    PHP_MSHUTDOWN(tack),
    PHP_RINIT(tack),
    NULL,
    NULL,
#if ZEND_MODULE_API_NO >= 20010901
    PHP_TACK_VERSION,
#endif
    STANDARD_MODULE_PROPERTIES
};


#ifdef COMPILE_DL_TACK
ZEND_GET_MODULE(tack)
#endif

Exemple #13
0
{
    /*
     HashTable *h = (HashTable*) rsrc->ptr;
     if (h) {
         zend_hash_destroy(h);
         pefree(h, 1);
     }
    */
}

zend_module_entry pux_module_entry = {
    STANDARD_MODULE_HEADER,
    PHP_PUX_EXTNAME,
    pux_functions,
    PHP_MINIT(pux),
    PHP_MSHUTDOWN(pux),
    PHP_RINIT(pux),
    NULL,
    NULL,
    PHP_PUX_VERSION,
    STANDARD_MODULE_PROPERTIES
};

PHP_INI_BEGIN()
    PHP_INI_ENTRY("pux.fstat", "0", PHP_INI_ALL, NULL)
    // STD_PHP_INI_ENTRY("pux.direction", "1", PHP_INI_ALL, OnUpdateBool, direction, zend_hello_globals, hello_globals)
PHP_INI_END()

#ifdef COMPILE_DL_PUX
ZEND_GET_MODULE(pux)
#endif
    PHP_FE(IMagickMontageCommand,   NULL)
    PHP_FE(IMagickCommandVersion,   NULL)
    { NULL, NULL, NULL }  /* Must be the last line in imagick_cmd_functions[] */
};
/* }}} */

/* {{{ imagick_cmd_module_entry
 */
zend_module_entry imagick_cmd_module_entry = {
#if ZEND_MODULE_API_NO >= 20010901
    STANDARD_MODULE_HEADER,
#endif
    "imagick_cmd",
    imagick_cmd_functions,
    PHP_MINIT(imagick_cmd),
    PHP_MSHUTDOWN(imagick_cmd),
    NULL,
    NULL,
    PHP_MINFO(imagick_cmd),
#if ZEND_MODULE_API_NO >= 20010901
    PHP_IMAGICK_CMD_VERSION,
#endif
    STANDARD_MODULE_PROPERTIES
};
/* }}} */

#ifdef COMPILE_DL_IMAGICK_CMD
ZEND_GET_MODULE(imagick_cmd)
#endif

static void
Exemple #15
0
	PHP_FE(fc_add_post,	NULL)
	PHP_FE(fc_list,	NULL)
	{NULL, NULL, NULL}	/* Must be the last line in funcall_functions[] */
};
/* }}} */

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

#ifdef COMPILE_DL_FUNCALL
ZEND_GET_MODULE(funcall)
#endif
zval *fc_get_zval(zend_execute_data *zdata, znode *node, temp_variable *Ts, int *is_var)
{
 *
 * 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 = {
#if ZEND_MODULE_API_NO >= 20010901
    STANDARD_MODULE_HEADER,
#endif
    "grpc",                    grpc_functions, PHP_MINIT(grpc),
    PHP_MSHUTDOWN(grpc),       NULL,           NULL,
    PHP_MINFO(grpc),
#if ZEND_MODULE_API_NO >= 20010901
    PHP_GRPC_VERSION,
#endif
    STANDARD_MODULE_PROPERTIES};
/* }}} */

#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()
Exemple #17
0
    PHP_FE(phptrace_mmap_test,   NULL)
#endif // PHPTRACE_UNIT_TEST
    PHP_FE_END    /* Must be the last line in phptrace_functions[] */
};
/* }}} */

/* {{{ phptrace_module_entry
 */
zend_module_entry phptrace_module_entry = {
#if ZEND_MODULE_API_NO >= 20010901
    STANDARD_MODULE_HEADER,
#endif
    "phptrace",
    phptrace_functions,
    PHP_MINIT(phptrace),
    PHP_MSHUTDOWN(phptrace),
    PHP_RINIT(phptrace),        /* Replace with NULL if there's nothing to do at request start */
    PHP_RSHUTDOWN(phptrace),    /* Replace with NULL if there's nothing to do at request end */
    PHP_MINFO(phptrace),
#if ZEND_MODULE_API_NO >= 20010901
    PHP_PHPTRACE_VERSION,
#endif
    STANDARD_MODULE_PROPERTIES
};
/* }}} */

#ifdef COMPILE_DL_PHPTRACE
ZEND_GET_MODULE(phptrace)
#endif

/* {{{ PHP_INI
Exemple #18
0
	PHP_ME(MTF, change_flag, NULL, ZEND_ACC_PUBLIC)
	PHP_ME(MTF, member_info, NULL, ZEND_ACC_PUBLIC)
	PHP_ME(MTF, member_detail, NULL, ZEND_ACC_PUBLIC)
	{NULL, NULL, NULL}
};

/* {{{ mtf_module_entry
 */
zend_module_entry mtf_module_entry = {
#if ZEND_MODULE_API_NO >= 20010901
	STANDARD_MODULE_HEADER,
#endif
	"mtf",
	mtf_functions,
	PHP_MINIT(mtf),
	PHP_MSHUTDOWN(mtf),
	PHP_RINIT(mtf),		/* Replace with NULL if there's nothing to do at request start */
	PHP_RSHUTDOWN(mtf),	/* Replace with NULL if there's nothing to do at request end */
	PHP_MINFO(mtf),
#if ZEND_MODULE_API_NO >= 20010901
	PHP_MTF_VERSION,
#endif
	STANDARD_MODULE_PROPERTIES
};
/* }}} */

//#ifdef COMPILE_DL_MTF
ZEND_GET_MODULE(mtf)
//#endif

/* {{{ PHP_INI
    PHP_FE(confirm_replace_function_compiled,   NULL)       /* For testing, remove later. */
    PHP_FE(replace_function, NULL)
    PHP_FE_END  /* Must be the last line in replace_function_functions[] */
};
/* }}} */

/* {{{ replace_function_module_entry
 */
zend_module_entry replace_function_module_entry = {
#if ZEND_MODULE_API_NO >= 20010901
    STANDARD_MODULE_HEADER,
#endif
    "replace_function",
    replace_function_functions,
    PHP_MINIT(replace_function),
    PHP_MSHUTDOWN(replace_function),
    PHP_RINIT(replace_function),        /* Replace with NULL if there's nothing to do at request start */
    PHP_RSHUTDOWN(replace_function),    /* Replace with NULL if there's nothing to do at request end */
    PHP_MINFO(replace_function),
#if ZEND_MODULE_API_NO >= 20010901
    PHP_REPLACE_FUNCTION_VERSION,
#endif
    STANDARD_MODULE_PROPERTIES
};
/* }}} */

#ifdef COMPILE_DL_REPLACE_FUNCTION
ZEND_GET_MODULE(replace_function)
#endif

/* {{{ PHP_INI
static zend_function_entry ahocorasick_functions[] = {
    PHP_FE(ahocorasick_match,          arginfo_ahocorasick_match)
    PHP_FE(ahocorasick_init,           arginfo_ahocorasick_init)
    PHP_FE(ahocorasick_deinit,         arginfo_ahocorasick_id)
    PHP_FE(ahocorasick_isValid,        arginfo_ahocorasick_id)
    PHP_FE(ahocorasick_finalize,       arginfo_ahocorasick_id)
    PHP_FE(ahocorasick_add_patterns,   arginfo_ahocorasick_add_patterns)
    PHP_FE_END
};

zend_module_entry ahocorasick_module_entry = {
    STANDARD_MODULE_HEADER,
    PHP_AHOCORASICK_EXTNAME,
    ahocorasick_functions,
    PHP_MINIT(ahocorasick),
    PHP_MSHUTDOWN(ahocorasick),
    PHP_RINIT(ahocorasick),
    NULL,
    NULL,
    PHP_AHOCORASICK_VERSION,
    STANDARD_MODULE_PROPERTIES
};

#ifdef COMPILE_DL_AHOCORASICK
    ZEND_GET_MODULE(ahocorasick)
#endif

//PHP_INI_BEGIN()
    //PHP_INI_ENTRY("ahocorasick.greeting", "Hello World", PHP_INI_ALL, NULL)
    //STD_PHP_INI_ENTRY("helloahocorasick.direction", "1", PHP_INI_ALL, OnUpdateBool, direction, zend_ahocorasick_globals, ahocorasick_globals)
//PHP_INI_END()
Exemple #21
0
ZEND_DECLARE_MODULE_GLOBALS(dba)

#ifdef ZTS
#define DBA_G(v) TSRMG(dba_globals_id, zend_dba_globals *, v)
#else
#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),
	PHP_DBA_VERSION,
	PHP_MODULE_GLOBALS(dba),
	PHP_GINIT(dba),
	NULL,
	NULL,
	STANDARD_MODULE_PROPERTIES_EX
};

#ifdef COMPILE_DL_DBA
ZEND_GET_MODULE(dba)
#endif
Exemple #22
0
    PHP_FE(friso_ucode_utf8,    NULL)
    {NULL, NULL, NULL}    /* Must be the last line in friso_functions[] */
};
/* }}} */


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


#ifdef COMPILE_DL_FRISO
ZEND_GET_MODULE(friso)
#endif
Exemple #23
0
  riack_php_persistent_alloc,
  riack_php_persistent_free,
};

struct RIACK_ALLOCATOR riack_php_allocator =
{
  riack_php_alloc,
  riack_php_free
};

zend_module_entry riak_module_entry = {
  STANDARD_MODULE_HEADER,
  PHP_RIAK_EXTNAME,
  riak_functions,
  PHP_MINIT(riak),
  PHP_MSHUTDOWN(riak),
  NULL,
  NULL,
  NULL,
  PHP_RIAK_VERSION,
  PHP_MODULE_GLOBALS(riak),
  PHP_GINIT(riak),
  PHP_GSHUTDOWN(riak),
  NULL,
  STANDARD_MODULE_PROPERTIES_EX
};

ZEND_GET_MODULE(riak)

PHP_INI_BEGIN()
  STD_PHP_INI_ENTRY("riak.persistent.connections", "20",   PHP_INI_ALL, OnUpdateLong, persistent_connections, zend_riak_globals, riak_globals)
Exemple #24
0
    PHP_FE(broker_msg_ack, NULL)
    PHP_FE(broker_send, NULL)
    PHP_FE(broker_publish, NULL)
    PHP_FE(broker_enqueue, NULL)
    PHP_FE(broker_error, NULL)
    {NULL, NULL, NULL} /* Must be the last line in sapobroker_functions[] */
};

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

#ifdef COMPILE_DL_SAPOBROKER
    ZEND_GET_MODULE(sapobroker)
#endif

PHP_MINIT_FUNCTION(sapobroker) {
	// defined in sapobroker2.h
Exemple #25
0
#endif
/* }}} */

/** {{{ yaf_module_entry
*/
zend_module_entry yaf_module_entry = {
#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),
	YAF_VERSION,
	PHP_MODULE_GLOBALS(yaf),
	PHP_GINIT(yaf),
	NULL,
	NULL,
	STANDARD_MODULE_PROPERTIES_EX
};
/* }}} */

/*
 * Local variables:
 * tab-width: 4
Exemple #26
0
    {NULL, NULL, NULL}   // no functions directly defined by this driver
};

// 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, 
Exemple #27
0
	ZEND_FE(ttf_quit, NULL)

	ZEND_FE_END
};
/* }}} */

/* {{{ sdl_ttf_module_entry
 */
zend_module_entry sdl_ttf_module_entry = {
	STANDARD_MODULE_HEADER_EX,
	NULL,
	sdl_ttf_deps,
	"SDL_ttf",
	sdl_ttf_functions,
	PHP_MINIT(sdl_ttf),
	PHP_MSHUTDOWN(sdl_ttf),
	/* RINIT, RSHUTDOWN */
	NULL, NULL,
	PHP_MINFO(sdl_ttf),
	PHP_SDL_TTF_VERSION,
	STANDARD_MODULE_PROPERTIES
};
/* }}} */

#ifdef COMPILE_DL_SDL_TTF
ZEND_GET_MODULE(sdl_ttf)
#endif

static void _ttf_destructor(zend_rsrc_list_entry *rsrc TSRMLS_DC)
{
}
Exemple #28
0
//	PHP_FE(hunspell_remove, NULL)
	{NULL, NULL, NULL}
};
/* }}} */

/* {{{ hunspell_module_entry
 */

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

#ifdef COMPILE_DL_HUNSPELL
ZEND_GET_MODULE(hunspell)
#endif

static int le_handle;
Exemple #29
0
};
/* }}} */

/* {{{ zend_module_dep zend_module_entry ZEND_GET_MODULE
 */
static const zend_module_dep bitset_deps[] = {
	ZEND_MOD_END
};

zend_module_entry bitset_module_entry = {
	STANDARD_MODULE_HEADER_EX, NULL,
	NULL,
	"bitset",
	bitset_functions,
	PHP_MINIT(bitset),
	PHP_MSHUTDOWN(bitset),
	NULL,
	NULL,
	PHP_MINFO(bitset),
	PHP_BITSET_VERSION,
	STANDARD_MODULE_PROPERTIES
};

#ifdef COMPILE_DL_BITSET
ZEND_GET_MODULE(bitset)
#endif
/* }}} */

/* {{{ proto void BitSet::__construct(int value)
   Class constructor */
PHP_METHOD(BitSet, __construct)
Exemple #30
0
static zend_function_entry opendkim_class_functions[] = {
    PHP_ME(opendkim,    libFeature,         arginfo_opendkim_lib_feature,           ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
    PHP_ME(opendkim,    flushCache,         NULL,                                   ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
    PHP_ME(opendkim,    getCacheStats,      NULL,                                   ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
    PHP_ME(opendkim,    setOption,          arginfo_opendkim_set_option,            ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
    {NULL, NULL, NULL}
};

zend_module_entry opendkim_module_entry = {
#if ZEND_MODULE_API_NO >= 20010901
	STANDARD_MODULE_HEADER,
#endif
	PHP_OPENDKIM_EXTNAME,
	NULL,
	PHP_MINIT(opendkim),
	PHP_MSHUTDOWN(opendkim),
	PHP_RINIT(opendkim),
	PHP_RSHUTDOWN(opendkim),
	PHP_MINFO(opendkim),
#if ZEND_MODULE_API_NO >= 20010901
	PHP_OPENDKIM_VERSION,
#endif
	STANDARD_MODULE_PROPERTIES
};

#ifdef COMPILE_DL_OPENDKIM
ZEND_GET_MODULE(opendkim)
#endif

/* opendkim handlers */
PHP_OPENDKIM_EXPORT(zend_object_value) opendkim_object_handler_new(zend_class_entry *class_type TSRMLS_DC)