--- lbbs/src/bbs.c 2025/11/04 13:49:51 1.36 +++ lbbs/src/bbs.c 2025/12/02 08:48:05 1.41 @@ -3,9 +3,13 @@ * bbs * - BBS related common definitions * - * Copyright (C) 2004-2025 by Leaflet + * 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;