| 23 |
#define FILE_PATH_LEN 4096 |
#define FILE_PATH_LEN 4096 |
| 24 |
|
|
| 25 |
// Version |
// Version |
| 26 |
extern char app_version[256]; |
#define APP_NAME_VER "LBBS-devel version 1.0" |
| 27 |
|
|
| 28 |
// Enviroment |
// Enviroment |
| 29 |
#define CONF_BBSD "conf/bbsd.conf" |
#define CONF_BBSD "conf/bbsd.conf" |
| 62 |
#define SCREEN_COLS 80 |
#define SCREEN_COLS 80 |
| 63 |
|
|
| 64 |
// Network |
// Network |
| 65 |
|
#define MAX_CLIENT_LIMIT 2000 |
| 66 |
|
#define MAX_CLIENT_PER_IP_LIMIT 100 |
| 67 |
#define IP_ADDR_LEN 50 |
#define IP_ADDR_LEN 50 |
| 68 |
#define MAX_EVENTS 10 |
#define MAX_EVENTS 10 |
| 69 |
|
|
| 70 |
|
// User |
| 71 |
|
#define BBS_MAX_USER_LIMIT 100000 |
| 72 |
|
|
| 73 |
extern int socket_server; |
extern int socket_server; |
| 74 |
extern int socket_client; |
extern int socket_client; |
| 75 |
extern char hostaddr_server[IP_ADDR_LEN]; |
extern char hostaddr_server[IP_ADDR_LEN]; |
| 88 |
extern volatile int SYS_server_exit; |
extern volatile int SYS_server_exit; |
| 89 |
extern volatile int SYS_child_process_count; |
extern volatile int SYS_child_process_count; |
| 90 |
extern volatile int SYS_child_exit; |
extern volatile int SYS_child_exit; |
| 91 |
extern volatile int SYS_menu_reload; |
extern volatile int SYS_conf_reload; |
| 92 |
extern volatile int SYS_data_file_reload; |
extern volatile int SYS_data_file_reload; |
| 93 |
extern volatile int SYS_section_list_reload; |
extern volatile int SYS_section_list_reload; |
| 94 |
|
|