| 21 |
#include <netinet/in.h> |
#include <netinet/in.h> |
| 22 |
|
|
| 23 |
// BBS |
// BBS |
| 24 |
#define BBS_max_section 1024 |
#define BBS_max_section 200 |
| 25 |
|
#define BBS_section_name_max_len 20 |
| 26 |
|
#define BBS_section_title_max_len 20 |
| 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 |
| 30 |
|
|
| 31 |
extern char BBS_id[20]; |
extern char BBS_id[20]; |
| 32 |
extern char BBS_name[50]; |
extern char BBS_name[50]; |
| 46 |
extern time_t BBS_login_tm; |
extern time_t BBS_login_tm; |
| 47 |
extern time_t BBS_last_access_tm; |
extern time_t BBS_last_access_tm; |
| 48 |
|
|
| 49 |
extern char BBS_current_section_name[20]; |
extern char BBS_current_section_name[BBS_section_name_max_len + 1]; |
| 50 |
|
|
| 51 |
extern char *setuserfile(char *buf, size_t len, const char *filename); |
extern char *setuserfile(char *buf, size_t len, const char *filename); |
| 52 |
|
|