| 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_id_max_len 20 |
#define BBS_id_max_len 20 |
| 59 |
extern time_t BBS_login_tm; |
extern time_t BBS_login_tm; |
| 60 |
extern time_t BBS_last_access_tm; |
extern time_t BBS_last_access_tm; |
| 61 |
|
|
| 62 |
extern char BBS_current_section_name[BBS_section_name_max_len + 1]; |
#define BBS_current_action_max_len 20 |
| 63 |
|
|
| 64 |
|
extern char BBS_current_action[BBS_current_action_max_len + 1]; |
| 65 |
|
extern time_t BBS_current_action_tm; |
| 66 |
|
#define BBS_current_action_refresh_interval 60 // 1 minute |
| 67 |
|
|
| 68 |
extern char *setuserfile(char *buf, size_t len, const char *filename); |
extern char *setuserfile(char *buf, size_t len, const char *filename); |
| 69 |
|
|