--- lbbs/src/bbs.c 2025/11/04 14:58:56 1.37 +++ lbbs/src/bbs.c 2025/12/02 08:48:05 1.41 @@ -6,6 +6,10 @@ * Copyright (C) 2004-2025 Leaflet */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include "bbs.h" #include "common.h" #include "user_priv.h" @@ -14,8 +18,11 @@ #include #include -#define BBS_port_default 23 -#define BBS_ssh_port_default 22 +enum _bbs_port_constant_t +{ + BBS_port_default = 23, + BBS_ssh_port_default = 22, +}; // BBS enviroment char BBS_id[BBS_id_max_len + 1] = "Example BBS"; @@ -40,6 +47,9 @@ char BBS_nickname[BBS_nickname_max_len + char BBS_user_tz[BBS_user_tz_max_len + 1]; int BBS_user_exp; +time_t BBS_eula_tm; +int BBS_update_eula = 0; + time_t BBS_login_tm; time_t BBS_last_access_tm;