Main Page | Class List | File List | Class Members | File Members | Related Pages

# /home/src/PHP-JAVA-BRIDGE/PHP5/php-java-bridge/init_cfg.h

Go to the documentation of this file.

    00001 /*-*- mode: C; tab-width:4 -*-*/
    00002
    00003 #ifndef INIT_CFG_H
    00004 #define INIT_CFG_H
    00005
    00006 #define JAVA 1
    00007 #define MONO 2
    00008 #define java java
    00009 #define mono mono
    00010
    00011 #define EXTENSION JAVA
    00012 #if EXTENSION == JAVA
    00013 #define EXT java
    00014 #else
    00015
    00016 #undef DEFAULT_PORT
    00017 #define DEFAULT_PORT DEFAULT_MONO_PORT
    00018
    00019 #undef N_SARGS
    00020 #define N_SARGS N_MONO_SARGS
    00021 #undef N_SENV
    00022 #define N_SENV N_MONO_SENV
    00023 #ifndef CFG_JAVA_SOCKET_INET
    00024 # define CFG_JAVA_SOCKET_INET
    00025 #endif
    00026 #define EXT mono
    00027 #endif
    00028
    00029 #define EXT_CONCAT(prefix, ext, sep, fkt) prefix##ext##sep##fkt
    00030 #define EXT_EXPAND(prefix, ext, sep, fkt) EXT_CONCAT(prefix, ext, sep, fkt)
    00031 #define EXT_GLOBAL_EX(prefix, fkt, sep) EXT_EXPAND(prefix, EXT, sep, fkt)
    00032 #define EXT_GLOBAL_N(fkt) EXT_EXPAND( , EXT, , fkt)
    00033 #define EXT_GLOBAL(fkt) EXT_EXPAND( , EXT, _, fkt)
    00034
    00035 #define EXT_DECLARE_MODULE_GLOBALS(ext) ZEND_DECLARE_MODULE_GLOBALS(ext)
    00036 #define EXT_EXTERN_MODULE_GLOBALS(ext) ZEND_EXTERN_MODULE_GLOBALS(ext)
    00037 #define EXT_INIT_MODULE_GLOBALS(a,b,c) ZEND_INIT_MODULE_GLOBALS(a,b,c);
    00038 #define EXT_BEGIN_MODULE_GLOBALS(ext) ZEND_BEGIN_MODULE_GLOBALS(ext)
    00039 #define EXT_END_MODULE_GLOBALS(ext) ZEND_END_MODULE_GLOBALS(ext)
    00040 #define EXT_STR(ext) #ext
    00041 #define EXT_STR_EXPAND(ext) EXT_STR(ext)
    00042 #define EXT_NAME() EXT_STR_EXPAND(EXT)
    00043 #define EXT_MINIT(ext) PHP_MINIT(ext)
    00044 #define EXT_MSHUTDOWN(ext) PHP_MSHUTDOWN(ext)
    00045 #define EXT_RINIT(ext) PHP_RINIT(ext)
    00046 #define EXT_RSHUTDOWN(ext) PHP_RSHUTDOWN(ext)
    00047 #define EXT_MINFO(ext) PHP_MINFO(ext)
    00048 #define EXT_GET_MODULE(ext) ZEND_GET_MODULE(ext)
    00049 #define EXT_METHOD(classname, name) PHP_METHOD(classname, name)
    00050 #define EXT_FUNCTION(name) PHP_FUNCTION(name)
    00051 #define EXT_ME(classname, name, arg_info, flags) ZEND_ME(classname, name, arg_info, flags)
    00052 #define EXT_FN(name) ZEND_FN(name)
    00053 #define EXT_TSRMG(id, type, element) TSRMG(id, type, element)
    00054 #define EXT_FE(name, arg_info) ZEND_FE(name, arg_info)
    00055 #define EXT_MALIAS(classname, name, alias, arg_info, flags) ZEND_MALIAS(classname, name, alias, arg_info, flags)
    00056 #define EXT_FALIAS(name, alias, arg_types) ZEND_FALIAS(name, alias, arg_types)
    00057
    00058 #endif