1999-04-10 05:04:12 +08:00
|
|
|
/*
|
|
|
|
+----------------------------------------------------------------------+
|
2001-05-06 23:20:56 +08:00
|
|
|
| PHP version 4.0 |
|
1999-04-10 05:04:12 +08:00
|
|
|
+----------------------------------------------------------------------+
|
2001-05-06 23:20:56 +08:00
|
|
|
| Copyright (c) 1997-2001 The PHP Group |
|
1999-04-10 05:04:12 +08:00
|
|
|
+----------------------------------------------------------------------+
|
2001-05-06 23:20:56 +08:00
|
|
|
| This source file is subject to version 2.02 of the PHP license, |
|
|
|
|
| that is bundled with this package in the file LICENSE, and is |
|
|
|
|
| available at through the world-wide-web at |
|
|
|
|
| http://www.php.net/license/2_02.txt. |
|
1999-07-16 21:13:16 +08:00
|
|
|
| If you did not receive a copy of the PHP license and are unable to |
|
2001-05-06 23:20:56 +08:00
|
|
|
| obtain it through the world-wide-web, please send a note to |
|
|
|
|
| license@php.net so we can mail you a copy immediately. |
|
1999-04-10 05:04:12 +08:00
|
|
|
+----------------------------------------------------------------------+
|
2001-05-06 23:20:56 +08:00
|
|
|
| Author: Zeev Suraski <zeev@zend.com> |
|
1999-04-10 05:04:12 +08:00
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
1999-04-08 05:05:13 +08:00
|
|
|
#include "php.h"
|
2001-04-24 01:33:22 +08:00
|
|
|
#ifndef PHP_WIN32
|
2001-04-22 09:09:14 +08:00
|
|
|
#include "build-defs.h"
|
2001-04-24 01:33:22 +08:00
|
|
|
#endif
|
1999-05-09 16:48:05 +08:00
|
|
|
#include "ext/standard/info.h"
|
2000-10-29 19:38:26 +08:00
|
|
|
#include "zend_ini.h"
|
2000-10-31 07:39:14 +08:00
|
|
|
#include "php_ini.h"
|
|
|
|
#include "ext/standard/dl.h"
|
|
|
|
#include "zend_extensions.h"
|
2001-05-06 23:20:56 +08:00
|
|
|
#include "zend_highlight.h"
|
2000-10-31 07:39:14 +08:00
|
|
|
|
2001-01-15 18:52:02 +08:00
|
|
|
typedef struct _php_extension_lists {
|
|
|
|
zend_llist engine;
|
|
|
|
zend_llist functions;
|
|
|
|
} php_extension_lists;
|
1999-08-14 05:03:27 +08:00
|
|
|
|
2001-03-18 07:35:32 +08:00
|
|
|
|
|
|
|
/* True globals */
|
|
|
|
static HashTable configuration_hash;
|
|
|
|
PHPAPI char *php_ini_opened_path=NULL;
|
|
|
|
static php_extension_lists extension_lists;
|
|
|
|
|
2001-06-06 21:06:12 +08:00
|
|
|
/* {{{ php_ini_displayer_cb
|
|
|
|
*/
|
2000-10-29 19:38:26 +08:00
|
|
|
static void php_ini_displayer_cb(zend_ini_entry *ini_entry, int type)
|
1999-05-09 16:48:05 +08:00
|
|
|
{
|
|
|
|
if (ini_entry->displayer) {
|
|
|
|
ini_entry->displayer(ini_entry, type);
|
|
|
|
} else {
|
|
|
|
char *display_string;
|
2001-05-06 23:20:56 +08:00
|
|
|
uint display_string_length, esc_html=0;
|
1999-05-09 16:48:05 +08:00
|
|
|
|
2000-10-29 19:38:26 +08:00
|
|
|
if (type==ZEND_INI_DISPLAY_ORIG && ini_entry->modified) {
|
1999-05-22 20:19:57 +08:00
|
|
|
if (ini_entry->orig_value) {
|
|
|
|
display_string = ini_entry->orig_value;
|
|
|
|
display_string_length = ini_entry->orig_value_length;
|
2001-05-06 23:20:56 +08:00
|
|
|
esc_html=1;
|
1999-05-22 20:19:57 +08:00
|
|
|
} else {
|
|
|
|
display_string = "<i>no value</i>";
|
|
|
|
display_string_length = sizeof("<i>no value</i>")-1;
|
|
|
|
}
|
1999-05-09 16:48:05 +08:00
|
|
|
} else if (ini_entry->value && ini_entry->value[0]) {
|
|
|
|
display_string = ini_entry->value;
|
|
|
|
display_string_length = ini_entry->value_length;
|
2001-05-06 23:20:56 +08:00
|
|
|
esc_html=1;
|
1999-05-09 16:48:05 +08:00
|
|
|
} else {
|
|
|
|
display_string = "<i>no value</i>";
|
|
|
|
display_string_length = sizeof("<i>no value</i>")-1;
|
|
|
|
}
|
2001-05-06 23:20:56 +08:00
|
|
|
if(esc_html) {
|
|
|
|
zend_html_puts(display_string, display_string_length);
|
|
|
|
} else {
|
|
|
|
PHPWRITE(display_string, display_string_length);
|
|
|
|
}
|
1999-05-09 16:48:05 +08:00
|
|
|
}
|
|
|
|
}
|
2001-06-06 21:06:12 +08:00
|
|
|
/* }}} */
|
1999-05-09 16:48:05 +08:00
|
|
|
|
2001-06-06 21:06:12 +08:00
|
|
|
/* {{{ php_ini_displayer
|
|
|
|
*/
|
2000-10-29 19:38:26 +08:00
|
|
|
static int php_ini_displayer(zend_ini_entry *ini_entry, int module_number)
|
1999-05-09 16:48:05 +08:00
|
|
|
{
|
|
|
|
if (ini_entry->module_number != module_number) {
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2001-06-19 23:21:28 +08:00
|
|
|
PUTS("<tr valign=\"baseline\" bgcolor=\"" PHP_CONTENTS_COLOR "\">");
|
|
|
|
PUTS("<td bgcolor=\"" PHP_ENTRY_NAME_COLOR "\"><b>");
|
1999-05-09 16:48:05 +08:00
|
|
|
PHPWRITE(ini_entry->name, ini_entry->name_length-1);
|
2001-06-19 23:21:28 +08:00
|
|
|
PUTS("</b><br></td><td align=\"center\">");
|
2000-10-29 19:38:26 +08:00
|
|
|
php_ini_displayer_cb(ini_entry, ZEND_INI_DISPLAY_ACTIVE);
|
2001-06-19 23:21:28 +08:00
|
|
|
PUTS("</td><td align=\"center\">");
|
2000-10-29 19:38:26 +08:00
|
|
|
php_ini_displayer_cb(ini_entry, ZEND_INI_DISPLAY_ORIG);
|
2001-06-19 23:21:28 +08:00
|
|
|
PUTS("</td></tr>\n");
|
1999-05-09 16:48:05 +08:00
|
|
|
return 0;
|
|
|
|
}
|
2001-06-06 21:06:12 +08:00
|
|
|
/* }}} */
|
1999-05-09 16:48:05 +08:00
|
|
|
|
2001-06-06 21:06:12 +08:00
|
|
|
/* {{{ display_ini_entries
|
|
|
|
*/
|
1999-05-09 16:48:05 +08:00
|
|
|
PHPAPI void display_ini_entries(zend_module_entry *module)
|
|
|
|
{
|
|
|
|
int module_number;
|
2000-12-27 23:43:05 +08:00
|
|
|
ELS_FETCH();
|
1999-05-09 16:48:05 +08:00
|
|
|
|
|
|
|
if (module) {
|
|
|
|
module_number = module->module_number;
|
2000-10-29 19:38:26 +08:00
|
|
|
} else {
|
1999-05-09 16:48:05 +08:00
|
|
|
module_number = 0;
|
|
|
|
}
|
2000-04-06 04:17:02 +08:00
|
|
|
php_info_print_table_start();
|
1999-05-12 00:52:58 +08:00
|
|
|
php_info_print_table_header(3, "Directive", "Local Value", "Master Value");
|
2000-12-27 23:43:05 +08:00
|
|
|
zend_hash_apply_with_argument(&EG(ini_directives), (apply_func_arg_t) php_ini_displayer, (void *) (long) module_number);
|
2000-04-06 04:17:02 +08:00
|
|
|
php_info_print_table_end();
|
1999-05-09 16:48:05 +08:00
|
|
|
}
|
2001-06-06 21:06:12 +08:00
|
|
|
/* }}} */
|
2000-10-31 07:39:14 +08:00
|
|
|
|
|
|
|
/* php.ini support */
|
|
|
|
|
|
|
|
#ifdef ZTS
|
|
|
|
# if (ZEND_DEBUG)
|
|
|
|
# define ZEND_EXTENSION_TOKEN "zend_extension_debug_ts"
|
|
|
|
# else
|
|
|
|
# define ZEND_EXTENSION_TOKEN "zend_extension_ts"
|
|
|
|
# endif
|
|
|
|
#else
|
|
|
|
# if (ZEND_DEBUG)
|
|
|
|
# define ZEND_EXTENSION_TOKEN "zend_extension_debug"
|
|
|
|
# else
|
|
|
|
# define ZEND_EXTENSION_TOKEN "zend_extension"
|
|
|
|
# endif
|
|
|
|
#endif
|
|
|
|
|
2001-06-06 21:06:12 +08:00
|
|
|
/* {{{ pvalue_config_destructor
|
|
|
|
*/
|
2000-10-31 07:39:14 +08:00
|
|
|
static void pvalue_config_destructor(zval *pvalue)
|
|
|
|
{
|
|
|
|
if (pvalue->type == IS_STRING && pvalue->value.str.val != empty_string) {
|
|
|
|
free(pvalue->value.str.val);
|
|
|
|
}
|
|
|
|
}
|
2001-06-06 21:06:12 +08:00
|
|
|
/* }}} */
|
2000-10-31 07:39:14 +08:00
|
|
|
|
2001-06-06 21:06:12 +08:00
|
|
|
/* {{{ php_config_ini_parser_cb
|
|
|
|
*/
|
2001-03-18 07:35:32 +08:00
|
|
|
static void php_config_ini_parser_cb(zval *arg1, zval *arg2, int callback_type, void *arg)
|
2000-10-31 07:39:14 +08:00
|
|
|
{
|
|
|
|
switch (callback_type) {
|
|
|
|
case ZEND_INI_PARSER_ENTRY: {
|
|
|
|
zval *entry;
|
|
|
|
|
|
|
|
if (!arg2) {
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
if (!strcasecmp(Z_STRVAL_P(arg1), "extension")) { /* load function module */
|
2001-03-18 07:35:32 +08:00
|
|
|
zval copy;
|
|
|
|
|
|
|
|
copy = *arg2;
|
|
|
|
zval_copy_ctor(©);
|
|
|
|
copy.refcount = 0;
|
|
|
|
zend_llist_add_element(&extension_lists.functions, ©);
|
2000-10-31 07:39:14 +08:00
|
|
|
} else if (!strcasecmp(Z_STRVAL_P(arg1), ZEND_EXTENSION_TOKEN)) { /* load Zend extension */
|
2001-01-15 18:52:02 +08:00
|
|
|
char *extension_name = estrndup(Z_STRVAL_P(arg2), Z_STRLEN_P(arg2));
|
|
|
|
|
2001-03-18 07:35:32 +08:00
|
|
|
zend_llist_add_element(&extension_lists.engine, &extension_name);
|
2000-10-31 07:39:14 +08:00
|
|
|
} else {
|
|
|
|
zend_hash_update(&configuration_hash, Z_STRVAL_P(arg1), Z_STRLEN_P(arg1)+1, arg2, sizeof(zval), (void **) &entry);
|
|
|
|
Z_STRVAL_P(entry) = zend_strndup(Z_STRVAL_P(entry), Z_STRLEN_P(entry));
|
2001-01-15 18:52:02 +08:00
|
|
|
}
|
2000-10-31 07:39:14 +08:00
|
|
|
}
|
|
|
|
break;
|
|
|
|
case ZEND_INI_PARSER_SECTION:
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
2001-06-06 21:06:12 +08:00
|
|
|
/* }}} */
|
2000-10-31 07:39:14 +08:00
|
|
|
|
2001-06-06 21:06:12 +08:00
|
|
|
/* {{{ php_load_function_extension_cb
|
|
|
|
*/
|
2001-01-15 18:52:02 +08:00
|
|
|
static void php_load_function_extension_cb(void *arg)
|
2001-01-15 11:21:05 +08:00
|
|
|
{
|
2001-03-18 07:35:32 +08:00
|
|
|
zval *extension = (zval *) arg;
|
|
|
|
zval zval;
|
2001-01-15 11:21:05 +08:00
|
|
|
|
2001-03-18 07:35:32 +08:00
|
|
|
php_dl(extension, MODULE_PERSISTENT, &zval);
|
2001-01-15 18:52:02 +08:00
|
|
|
}
|
2001-06-06 21:06:12 +08:00
|
|
|
/* }}} */
|
2001-01-15 18:52:02 +08:00
|
|
|
|
2001-06-06 21:06:12 +08:00
|
|
|
/* {{{ php_load_zend_extension_cb
|
|
|
|
*/
|
2001-01-15 18:52:02 +08:00
|
|
|
static void php_load_zend_extension_cb(void *arg)
|
|
|
|
{
|
|
|
|
zend_load_extension(*((char **) arg));
|
2001-01-15 11:21:05 +08:00
|
|
|
}
|
2001-06-06 21:06:12 +08:00
|
|
|
/* }}} */
|
2001-01-15 11:21:05 +08:00
|
|
|
|
2001-06-06 21:06:12 +08:00
|
|
|
/* {{{ php_init_config
|
|
|
|
*/
|
2001-01-03 06:49:31 +08:00
|
|
|
int php_init_config(char *php_ini_path_override)
|
2000-10-31 07:39:14 +08:00
|
|
|
{
|
2001-01-03 06:49:31 +08:00
|
|
|
char *env_location, *php_ini_search_path;
|
|
|
|
int safe_mode_state;
|
|
|
|
char *open_basedir;
|
|
|
|
int free_ini_search_path=0;
|
|
|
|
zend_file_handle fh;
|
2000-10-31 07:39:14 +08:00
|
|
|
PLS_FETCH();
|
|
|
|
|
|
|
|
if (zend_hash_init(&configuration_hash, 0, NULL, (dtor_func_t) pvalue_config_destructor, 1)==FAILURE) {
|
|
|
|
return FAILURE;
|
|
|
|
}
|
|
|
|
|
2001-04-21 19:40:04 +08:00
|
|
|
zend_llist_init(&extension_lists.engine, sizeof(zval), (llist_dtor_func_t) free_estring, 1);
|
|
|
|
zend_llist_init(&extension_lists.functions, sizeof(zval), (llist_dtor_func_t) ZVAL_DESTRUCTOR, 1);
|
2001-01-15 11:21:05 +08:00
|
|
|
|
2001-01-03 06:49:31 +08:00
|
|
|
safe_mode_state = PG(safe_mode);
|
|
|
|
open_basedir = PG(open_basedir);
|
2000-10-31 07:39:14 +08:00
|
|
|
|
2001-01-03 06:49:31 +08:00
|
|
|
env_location = getenv("PHPRC");
|
|
|
|
if (!env_location) {
|
|
|
|
env_location="";
|
|
|
|
}
|
|
|
|
if (php_ini_path_override) {
|
|
|
|
php_ini_search_path = php_ini_path_override;
|
|
|
|
free_ini_search_path = 0;
|
|
|
|
} else {
|
|
|
|
char *default_location;
|
|
|
|
int free_default_location;
|
2000-10-31 07:39:14 +08:00
|
|
|
|
|
|
|
#ifdef PHP_WIN32
|
2001-01-03 06:49:31 +08:00
|
|
|
default_location = (char *) emalloc(512);
|
|
|
|
|
|
|
|
if (!GetWindowsDirectory(default_location,255)) {
|
|
|
|
default_location[0]=0;
|
|
|
|
}
|
|
|
|
free_default_location=1;
|
2000-10-31 07:39:14 +08:00
|
|
|
#else
|
2001-04-22 09:09:14 +08:00
|
|
|
default_location = PHP_CONFIG_FILE_PATH;
|
2001-01-03 06:49:31 +08:00
|
|
|
free_default_location=0;
|
2000-10-31 07:39:14 +08:00
|
|
|
#endif
|
2001-01-03 06:49:31 +08:00
|
|
|
php_ini_search_path = (char *) emalloc(sizeof(".")+strlen(env_location)+strlen(default_location)+2+1);
|
|
|
|
free_ini_search_path = 1;
|
2001-03-06 19:38:55 +08:00
|
|
|
if(env_location && env_location[0]) {
|
|
|
|
sprintf(php_ini_search_path, ".%c%s%c%s", ZEND_PATHS_SEPARATOR, env_location, ZEND_PATHS_SEPARATOR, default_location);
|
|
|
|
} else {
|
|
|
|
sprintf(php_ini_search_path, ".%c%s", ZEND_PATHS_SEPARATOR, default_location);
|
|
|
|
}
|
2000-10-31 07:39:14 +08:00
|
|
|
if (free_default_location) {
|
2001-01-03 06:49:31 +08:00
|
|
|
efree(default_location);
|
2000-10-31 07:39:14 +08:00
|
|
|
}
|
|
|
|
}
|
2001-01-03 06:49:31 +08:00
|
|
|
|
|
|
|
PG(safe_mode) = 0;
|
|
|
|
PG(open_basedir) = NULL;
|
2000-10-31 07:39:14 +08:00
|
|
|
|
2001-01-03 06:49:31 +08:00
|
|
|
fh.handle.fp = php_fopen_with_path("php.ini", "r", php_ini_search_path, &php_ini_opened_path);
|
|
|
|
if (free_ini_search_path) {
|
|
|
|
efree(php_ini_search_path);
|
|
|
|
}
|
|
|
|
PG(safe_mode) = safe_mode_state;
|
|
|
|
PG(open_basedir) = open_basedir;
|
|
|
|
|
|
|
|
if (!fh.handle.fp) {
|
|
|
|
return SUCCESS; /* having no configuration file is ok */
|
|
|
|
}
|
|
|
|
fh.type = ZEND_HANDLE_FP;
|
|
|
|
fh.filename = php_ini_opened_path;
|
|
|
|
|
2001-01-15 18:52:02 +08:00
|
|
|
zend_parse_ini_file(&fh, 1, php_config_ini_parser_cb, &extension_lists);
|
2001-01-15 11:21:05 +08:00
|
|
|
|
2001-01-03 06:49:31 +08:00
|
|
|
if (php_ini_opened_path) {
|
|
|
|
zval tmp;
|
|
|
|
|
|
|
|
tmp.value.str.len = strlen(php_ini_opened_path);
|
|
|
|
tmp.value.str.val = zend_strndup(php_ini_opened_path, tmp.value.str.len);
|
|
|
|
tmp.type = IS_STRING;
|
|
|
|
zend_hash_update(&configuration_hash, "cfg_file_path", sizeof("cfg_file_path"),(void *) &tmp,sizeof(zval), NULL);
|
|
|
|
persist_alloc(php_ini_opened_path);
|
|
|
|
}
|
2000-10-31 07:39:14 +08:00
|
|
|
|
|
|
|
return SUCCESS;
|
|
|
|
}
|
2001-06-06 21:06:12 +08:00
|
|
|
/* }}} */
|
2000-10-31 07:39:14 +08:00
|
|
|
|
2001-06-06 21:06:12 +08:00
|
|
|
/* {{{ php_shutdown_config
|
|
|
|
*/
|
2000-10-31 07:39:14 +08:00
|
|
|
int php_shutdown_config(void)
|
|
|
|
{
|
|
|
|
zend_hash_destroy(&configuration_hash);
|
2001-01-03 06:49:31 +08:00
|
|
|
if (php_ini_opened_path) {
|
|
|
|
efree(php_ini_opened_path);
|
|
|
|
}
|
2000-10-31 07:39:14 +08:00
|
|
|
return SUCCESS;
|
|
|
|
}
|
2001-06-06 21:06:12 +08:00
|
|
|
/* }}} */
|
2000-10-31 07:39:14 +08:00
|
|
|
|
2001-06-06 21:06:12 +08:00
|
|
|
/* {{{ php_ini_delayed_modules_startup
|
|
|
|
*/
|
2001-03-18 07:35:32 +08:00
|
|
|
void php_ini_delayed_modules_startup(void)
|
|
|
|
{
|
|
|
|
zend_llist_apply(&extension_lists.engine, php_load_zend_extension_cb);
|
|
|
|
zend_llist_apply(&extension_lists.functions, php_load_function_extension_cb);
|
|
|
|
|
|
|
|
zend_llist_destroy(&extension_lists.engine);
|
|
|
|
zend_llist_destroy(&extension_lists.functions);
|
|
|
|
}
|
2001-06-06 21:06:12 +08:00
|
|
|
/* }}} */
|
2001-03-18 07:35:32 +08:00
|
|
|
|
2001-06-06 21:06:12 +08:00
|
|
|
/* {{{ cfg_get_entry
|
|
|
|
*/
|
2000-10-31 07:39:14 +08:00
|
|
|
zval *cfg_get_entry(char *name, uint name_length)
|
|
|
|
{
|
|
|
|
zval *tmp;
|
|
|
|
|
|
|
|
if (zend_hash_find(&configuration_hash, name, name_length, (void **) &tmp)==SUCCESS) {
|
|
|
|
return tmp;
|
|
|
|
} else {
|
|
|
|
return NULL;
|
|
|
|
}
|
|
|
|
}
|
2001-06-06 21:06:12 +08:00
|
|
|
/* }}} */
|
2000-10-31 07:39:14 +08:00
|
|
|
|
2001-06-06 21:06:12 +08:00
|
|
|
/* {{{ cfg_get_long
|
|
|
|
*/
|
2000-10-31 07:39:14 +08:00
|
|
|
PHPAPI int cfg_get_long(char *varname,long *result)
|
|
|
|
{
|
|
|
|
zval *tmp,var;
|
|
|
|
|
|
|
|
if (zend_hash_find(&configuration_hash,varname,strlen(varname)+1,(void **) &tmp)==FAILURE) {
|
|
|
|
*result=(long)NULL;
|
|
|
|
return FAILURE;
|
|
|
|
}
|
|
|
|
var = *tmp;
|
|
|
|
zval_copy_ctor(&var);
|
|
|
|
convert_to_long(&var);
|
|
|
|
*result = var.value.lval;
|
|
|
|
return SUCCESS;
|
|
|
|
}
|
2001-06-06 21:06:12 +08:00
|
|
|
/* }}} */
|
2000-10-31 07:39:14 +08:00
|
|
|
|
2001-06-06 21:06:12 +08:00
|
|
|
/* {{{ cfg_get_double
|
|
|
|
*/
|
2000-10-31 07:39:14 +08:00
|
|
|
PHPAPI int cfg_get_double(char *varname,double *result)
|
|
|
|
{
|
|
|
|
zval *tmp,var;
|
|
|
|
|
|
|
|
if (zend_hash_find(&configuration_hash,varname,strlen(varname)+1,(void **) &tmp)==FAILURE) {
|
|
|
|
*result=(double)0;
|
|
|
|
return FAILURE;
|
|
|
|
}
|
|
|
|
var = *tmp;
|
|
|
|
zval_copy_ctor(&var);
|
|
|
|
convert_to_double(&var);
|
|
|
|
*result = var.value.dval;
|
|
|
|
return SUCCESS;
|
|
|
|
}
|
2001-06-06 21:06:12 +08:00
|
|
|
/* }}} */
|
2000-10-31 07:39:14 +08:00
|
|
|
|
2001-06-06 21:06:12 +08:00
|
|
|
/* {{{ cfg_get_string
|
|
|
|
*/
|
2000-10-31 07:39:14 +08:00
|
|
|
PHPAPI int cfg_get_string(char *varname, char **result)
|
|
|
|
{
|
|
|
|
zval *tmp;
|
|
|
|
|
|
|
|
if (zend_hash_find(&configuration_hash,varname,strlen(varname)+1,(void **) &tmp)==FAILURE) {
|
|
|
|
*result=NULL;
|
|
|
|
return FAILURE;
|
|
|
|
}
|
|
|
|
*result = tmp->value.str.val;
|
|
|
|
return SUCCESS;
|
|
|
|
}
|
2001-06-06 21:06:12 +08:00
|
|
|
/* }}} */
|
2001-04-22 09:09:14 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Local variables:
|
|
|
|
* tab-width: 4
|
|
|
|
* c-basic-offset: 4
|
|
|
|
* indent-tabs-mode: t
|
|
|
|
* End:
|
2001-06-06 21:06:12 +08:00
|
|
|
* vim600: sw=4 ts=4 tw=78 fdm=marker
|
|
|
|
* vim<600: sw=4 ts=4 tw=78
|
2001-04-22 09:09:14 +08:00
|
|
|
*/
|