| 23 |
#define FILE_PATH_LEN 4096 |
#define FILE_PATH_LEN 4096 |
| 24 |
|
|
| 25 |
// Version |
// Version |
| 26 |
extern char app_version[256]; |
#define APP_NAME_VER "LBBS-devel version 1.0" |
| 27 |
|
|
| 28 |
// Enviroment |
// Enviroment |
| 29 |
#define CONF_BBSD "conf/bbsd.conf" |
#define CONF_BBSD "conf/bbsd.conf" |
| 62 |
#define SCREEN_COLS 80 |
#define SCREEN_COLS 80 |
| 63 |
|
|
| 64 |
// Network |
// Network |
| 65 |
#define MAX_CLIENTS_LIMIT 2048 |
#define MAX_CLIENT_LIMIT 2000 |
| 66 |
|
#define MAX_CLIENT_PER_IP_LIMIT 100 |
| 67 |
#define IP_ADDR_LEN 50 |
#define IP_ADDR_LEN 50 |
| 68 |
#define MAX_EVENTS 10 |
#define MAX_EVENTS 10 |
| 69 |
|
|
| 70 |
|
// User |
| 71 |
|
#define BBS_MAX_USER_LIMIT 100000 |
| 72 |
|
|
| 73 |
extern int socket_server; |
extern int socket_server; |
| 74 |
extern int socket_client; |
extern int socket_client; |
| 75 |
extern char hostaddr_server[IP_ADDR_LEN]; |
extern char hostaddr_server[IP_ADDR_LEN]; |