| 3 |
* bbs |
* bbs |
| 4 |
* - BBS related common definitions |
* - BBS related common definitions |
| 5 |
* |
* |
| 6 |
* Copyright (C) 2004-2025 Leaflet <leaflet@leafok.com> |
* Copyright (C) 2004-2026 Leaflet <leaflet@leafok.com> |
| 7 |
*/ |
*/ |
| 8 |
|
|
| 9 |
#ifndef _BBS_H_ |
#ifndef _BBS_H_ |
| 14 |
|
|
| 15 |
enum bbs_const_t |
enum bbs_const_t |
| 16 |
{ |
{ |
|
#if defined(__CYGWIN__) |
|
|
BBS_max_section = 50, |
|
|
#else |
|
| 17 |
BBS_max_section = 200, |
BBS_max_section = 200, |
|
#endif |
|
| 18 |
BBS_section_name_max_len = 20, |
BBS_section_name_max_len = 20, |
| 19 |
BBS_section_title_max_len = 40, |
BBS_section_title_max_len = 40, |
| 20 |
BBS_username_max_len = 12, |
BBS_username_max_len = 12, |
| 63 |
extern char BBS_user_tz[BBS_user_tz_max_len + 1]; |
extern char BBS_user_tz[BBS_user_tz_max_len + 1]; |
| 64 |
extern int BBS_user_exp; |
extern int BBS_user_exp; |
| 65 |
|
|
| 66 |
|
extern time_t BBS_eula_tm; |
| 67 |
|
extern int BBS_update_eula; |
| 68 |
|
|
| 69 |
extern time_t BBS_login_tm; |
extern time_t BBS_login_tm; |
| 70 |
extern time_t BBS_last_access_tm; |
extern time_t BBS_last_access_tm; |
| 71 |
|
|