Back to index

php5  5.3.10
info.h
Go to the documentation of this file.
00001 /* 
00002    +----------------------------------------------------------------------+
00003    | PHP Version 5                                                        |
00004    +----------------------------------------------------------------------+
00005    | Copyright (c) 1997-2012 The PHP Group                                |
00006    +----------------------------------------------------------------------+
00007    | This source file is subject to version 3.01 of the PHP license,      |
00008    | that is bundled with this package in the file LICENSE, and is        |
00009    | available through the world-wide-web at the following url:           |
00010    | http://www.php.net/license/3_01.txt                                  |
00011    | If you did not receive a copy of the PHP license and are unable to   |
00012    | obtain it through the world-wide-web, please send a note to          |
00013    | license@php.net so we can mail you a copy immediately.               |
00014    +----------------------------------------------------------------------+
00015    | Authors: Rasmus Lerdorf <rasmus@php.net>                             |
00016    |          Zeev Suraski <zeev@zend.com>                                |
00017    +----------------------------------------------------------------------+
00018 */
00019 
00020 /* $Id: info.h 321634 2012-01-01 13:15:04Z felipe $ */
00021 
00022 #ifndef INFO_H
00023 #define INFO_H
00024 
00025 #define PHP_ENTRY_NAME_COLOR "#ccccff"
00026 #define PHP_CONTENTS_COLOR "#cccccc"
00027 #define PHP_HEADER_COLOR "#9999cc"
00028 
00029 #define PHP_INFO_GENERAL                  (1<<0)
00030 #define PHP_INFO_CREDITS                  (1<<1)
00031 #define PHP_INFO_CONFIGURATION            (1<<2)
00032 #define PHP_INFO_MODULES                  (1<<3)
00033 #define PHP_INFO_ENVIRONMENT              (1<<4)
00034 #define PHP_INFO_VARIABLES                (1<<5)
00035 #define PHP_INFO_LICENSE                  (1<<6)
00036 #define PHP_INFO_ALL                      0xFFFFFFFF
00037 
00038 #ifndef HAVE_CREDITS_DEFS
00039 #define HAVE_CREDITS_DEFS
00040 
00041 #define PHP_CREDITS_GROUP                 (1<<0)
00042 #define PHP_CREDITS_GENERAL               (1<<1)
00043 #define PHP_CREDITS_SAPI                  (1<<2)
00044 #define PHP_CREDITS_MODULES               (1<<3)
00045 #define PHP_CREDITS_DOCS                  (1<<4)
00046 #define PHP_CREDITS_FULLPAGE              (1<<5)
00047 #define PHP_CREDITS_QA                           (1<<6)
00048 #define PHP_CREDITS_WEB             (1<<7)
00049 #define PHP_CREDITS_ALL                          0xFFFFFFFF
00050 
00051 #endif /* HAVE_CREDITS_DEFS */
00052 
00053 #define PHP_LOGO_GUID                "PHPE9568F34-D428-11d2-A769-00AA001ACF42"
00054 #define PHP_EGG_LOGO_GUID   "PHPE9568F36-D428-11d2-A769-00AA001ACF42"
00055 #define ZEND_LOGO_GUID             "PHPE9568F35-D428-11d2-A769-00AA001ACF42"
00056 #define PHP_CREDITS_GUID  "PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000"
00057 
00058 BEGIN_EXTERN_C()
00059 PHP_FUNCTION(phpversion);
00060 PHP_FUNCTION(phpinfo);
00061 PHP_FUNCTION(phpcredits);
00062 PHP_FUNCTION(php_logo_guid);
00063 PHP_FUNCTION(php_real_logo_guid);
00064 PHP_FUNCTION(zend_logo_guid);
00065 PHP_FUNCTION(php_egg_logo_guid);
00066 PHP_FUNCTION(php_sapi_name);
00067 PHP_FUNCTION(php_uname);
00068 PHP_FUNCTION(php_ini_scanned_files);
00069 PHP_FUNCTION(php_ini_loaded_file);
00070 PHPAPI char *php_info_html_esc(char *string TSRMLS_DC);
00071 PHPAPI void php_info_html_esc_write(char *string, int str_len TSRMLS_DC);
00072 PHPAPI void php_print_info_htmlhead(TSRMLS_D);
00073 PHPAPI void php_print_info(int flag TSRMLS_DC);
00074 PHPAPI void php_print_style(void);
00075 PHPAPI void php_info_print_style(TSRMLS_D);
00076 PHPAPI void php_info_print_table_colspan_header(int num_cols, char *header);
00077 PHPAPI void php_info_print_table_header(int num_cols, ...);
00078 PHPAPI void php_info_print_table_row(int num_cols, ...);
00079 PHPAPI void php_info_print_table_row_ex(int num_cols, const char *, ...);
00080 PHPAPI void php_info_print_table_start(void);
00081 PHPAPI void php_info_print_table_end(void);
00082 PHPAPI void php_info_print_box_start(int bg);
00083 PHPAPI void php_info_print_box_end(void);
00084 PHPAPI void php_info_print_hr(void);
00085 PHPAPI void php_info_print_module(zend_module_entry *module TSRMLS_DC);
00086 PHPAPI char *php_logo_guid(void);
00087 PHPAPI char *php_get_uname(char mode);
00088 
00089 void register_phpinfo_constants(INIT_FUNC_ARGS);
00090 END_EXTERN_C()
00091 
00092 #endif /* INFO_H */