| 19 |
#define _BBS_H_ |
#define _BBS_H_ |
| 20 |
|
|
| 21 |
#include <time.h> |
#include <time.h> |
| 22 |
|
#include <netinet/in.h> |
| 23 |
|
|
| 24 |
// BBS |
// BBS |
| 25 |
#define BBS_max_section 1024 |
#define BBS_max_section 1024 |
| 30 |
extern char BBS_name[50]; |
extern char BBS_name[50]; |
| 31 |
extern char BBS_server[256]; |
extern char BBS_server[256]; |
| 32 |
extern char BBS_address[50]; |
extern char BBS_address[50]; |
| 33 |
extern unsigned int BBS_port; |
extern in_port_t BBS_port; |
| 34 |
extern unsigned int BBS_max_client; |
extern unsigned int BBS_max_client; |
| 35 |
extern unsigned int BBS_max_user; |
extern unsigned int BBS_max_user; |
| 36 |
extern char BBS_start_dt[50]; |
extern char BBS_start_dt[50]; |
| 46 |
|
|
| 47 |
extern char BBS_current_section_name[20]; |
extern char BBS_current_section_name[20]; |
| 48 |
|
|
| 49 |
extern char *setuserfile(char *buf, const char *filename); |
extern char *setuserfile(char *buf, size_t len, const char *filename); |
| 50 |
|
|
| 51 |
#endif //_BBS_H_ |
#endif //_BBS_H_ |