| 23 |
// BBS |
// BBS |
| 24 |
#define BBS_max_section 200 |
#define BBS_max_section 200 |
| 25 |
#define BBS_section_name_max_len 20 |
#define BBS_section_name_max_len 20 |
| 26 |
#define BBS_section_title_max_len 20 |
#define BBS_section_title_max_len 40 |
| 27 |
#define BBS_username_max_len 12 |
#define BBS_username_max_len 12 |
| 28 |
#define BBS_password_max_len 12 |
#define BBS_password_max_len 12 |
| 29 |
#define BBS_nickname_max_len 20 |
#define BBS_nickname_max_len 40 |
| 30 |
#define BBS_user_tz_max_len 50 |
#define BBS_user_tz_max_len 50 |
| 31 |
|
|
| 32 |
|
#define BBS_msg_max_len 1024 |
| 33 |
|
|
| 34 |
#define BBS_id_max_len 20 |
#define BBS_id_max_len 20 |
| 35 |
#define BBS_name_max_len 50 |
#define BBS_name_max_len 50 |
| 36 |
#define BBS_server_max_len 255 |
#define BBS_server_max_len 255 |
| 48 |
extern int BBS_max_client_per_ip; |
extern int BBS_max_client_per_ip; |
| 49 |
extern int BBS_max_user; |
extern int BBS_max_user; |
| 50 |
extern char BBS_start_dt[BBS_start_dt_max_len + 1]; |
extern char BBS_start_dt[BBS_start_dt_max_len + 1]; |
| 51 |
|
extern int BBS_sys_id; |
| 52 |
|
|
| 53 |
// Session |
// Session |
| 54 |
#define MAX_DELAY_TIME 600 // 10 minutes |
#define MAX_DELAY_TIME 600 // 10 minutes |
| 65 |
#define BBS_current_action_max_len 20 |
#define BBS_current_action_max_len 20 |
| 66 |
|
|
| 67 |
extern char BBS_current_action[BBS_current_action_max_len + 1]; |
extern char BBS_current_action[BBS_current_action_max_len + 1]; |
| 68 |
|
extern time_t BBS_current_action_tm; |
| 69 |
|
#define BBS_current_action_refresh_interval 60 // 1 minute |
| 70 |
|
|
| 71 |
extern char *setuserfile(char *buf, size_t len, const char *filename); |
extern char *setuserfile(char *buf, size_t len, const char *filename); |
| 72 |
|
|