| 46 |
extern in_port_t BBS_port[2]; |
extern in_port_t BBS_port[2]; |
| 47 |
extern int BBS_max_client; |
extern int BBS_max_client; |
| 48 |
extern int BBS_max_client_per_ip; |
extern int BBS_max_client_per_ip; |
|
extern int BBS_max_user; |
|
| 49 |
extern char BBS_start_dt[BBS_start_dt_max_len + 1]; |
extern char BBS_start_dt[BBS_start_dt_max_len + 1]; |
| 50 |
extern int BBS_sys_id; |
extern int BBS_sys_id; |
| 51 |
|
|
| 52 |
|
// User |
| 53 |
|
#define BBS_max_user_count 100000 |
| 54 |
|
#define BBS_user_list_load_interval 60 // second |
| 55 |
|
|
| 56 |
// Session |
// Session |
| 57 |
#define MAX_DELAY_TIME 600 // 10 minutes |
#define MAX_DELAY_TIME 600 // 10 minutes |
| 58 |
#define BBS_user_off_line 900 // 15 minutes |
#define BBS_user_off_line 900 // 15 minutes |
| 59 |
|
|
| 60 |
extern char BBS_username[BBS_username_max_len + 1]; |
extern char BBS_username[BBS_username_max_len + 1]; |