Subversion Repositories Tewi

Rev

Rev 240 | Rev 258 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 240 Rev 257
Line 1... Line 1...
1
/* $Id: tw_config.h 240 2024-10-03 05:54:55Z nishi $ */
1
/* $Id: tw_config.h 257 2024-10-04 05:34:27Z nishi $ */
2
 
2
 
3
#ifndef __TW_CONFIG_H__
3
#ifndef __TW_CONFIG_H__
4
#define __TW_CONFIG_H__
4
#define __TW_CONFIG_H__
5
 
5
 
6
#ifdef __cplusplus
6
#ifdef __cplusplus
Line 39... Line 39...
39
 
39
 
40
#define MAX_PORTS 1024
40
#define MAX_PORTS 1024
41
#define MAX_VHOSTS 1024
41
#define MAX_VHOSTS 1024
42
#define MAX_MODULES 1024
42
#define MAX_MODULES 1024
43
#define MAX_DIRS 1024
43
#define MAX_DIRS 1024
44
#define MAX_MIME 1024
44
#define MAX_MIME 4096
45
#define MAX_ICON 1024
45
#define MAX_ICON 1024
46
#define MAX_INDEX 1024
46
#define MAX_INDEX 1024
47
#define MAX_README 8
47
#define MAX_README 8
48
 
48
 
49
#if defined(_MSC_VER) || defined(__BORLANDC__)
49
#if defined(_MSC_VER) || defined(__BORLANDC__)
Line 82... Line 82...
82
#endif
82
#endif
83
	char* root;
83
	char* root;
84
	int hideport;
84
	int hideport;
85
	struct tw_dir_entry dirs[MAX_DIRS];
85
	struct tw_dir_entry dirs[MAX_DIRS];
86
	int dir_count;
86
	int dir_count;
87
	struct tw_mime_entry mimes[MAX_DIRS];
87
	struct tw_mime_entry mimes[MAX_MIME];
88
	int mime_count;
88
	int mime_count;
89
	struct tw_icon_entry icons[MAX_DIRS];
89
	struct tw_icon_entry icons[MAX_ICON];
90
	int icon_count;
90
	int icon_count;
91
	char* indexes[MAX_INDEX];
91
	char* indexes[MAX_INDEX];
92
	int index_count;
92
	int index_count;
93
	char* readmes[MAX_README];
93
	char* readmes[MAX_README];
94
	int readme_count;
94
	int readme_count;