Subversion Repositories Tewi

Rev

Rev 359 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 359 Rev 384
Line 1... Line 1...
1
/* $Id: tw_config.h 359 2024-10-16 14:34:51Z nishi $ */
1
/* $Id: tw_config.h 384 2024-10-17 10:30:28Z 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 52... Line 52...
52
#define SOCKADDR struct sockaddr_in
52
#define SOCKADDR struct sockaddr_in
53
#else
53
#else
54
#define SOCKADDR struct sockaddr_in6
54
#define SOCKADDR struct sockaddr_in6
55
#endif
55
#endif
56
 
56
 
57
#define MAX_PORTS 1024
57
#define MAX_PORTS 128
58
#define MAX_VHOSTS 1024
58
#define MAX_VHOSTS 128
59
#define MAX_MODULES 1024
59
#define MAX_MODULES 128
60
#define MAX_DIRS 1024
60
#define MAX_DIRS 128
61
#define MAX_MIME 4096
61
#define MAX_MIME 4096
62
#define MAX_ICON 1024
62
#define MAX_ICON 128
63
#define MAX_INDEX 32
63
#define MAX_INDEX 32
64
#define MAX_README 8
64
#define MAX_README 8
65
 
65
 
66
#if defined(_MSC_VER) || defined(__BORLANDC__)
66
#if defined(_MSC_VER) || defined(__BORLANDC__)
67
#define NUM1024 1024UL
67
#define NUM1024 1024UL