/[LeafOK_CVS]/lbbs/src/bbs.c
ViewVC logotype

Diff of /lbbs/src/bbs.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.37 by sysadm, Tue Nov 4 14:58:56 2025 UTC Revision 1.42 by sysadm, Sat Jan 3 10:27:14 2026 UTC
# Line 3  Line 3 
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    #ifdef HAVE_CONFIG_H
10    #include "config.h"
11    #endif
12    
13  #include "bbs.h"  #include "bbs.h"
14  #include "common.h"  #include "common.h"
15  #include "user_priv.h"  #include "user_priv.h"
# Line 14  Line 18 
18  #include <signal.h>  #include <signal.h>
19  #include <time.h>  #include <time.h>
20    
21  #define BBS_port_default 23  enum _bbs_port_constant_t
22  #define BBS_ssh_port_default 22  {
23            BBS_port_default = 23,
24            BBS_ssh_port_default = 22,
25    };
26    
27  // BBS enviroment  // BBS enviroment
28  char BBS_id[BBS_id_max_len + 1] = "Example BBS";  char BBS_id[BBS_id_max_len + 1] = "Example BBS";
# Line 40  char BBS_nickname[BBS_nickname_max_len + Line 47  char BBS_nickname[BBS_nickname_max_len +
47  char BBS_user_tz[BBS_user_tz_max_len + 1];  char BBS_user_tz[BBS_user_tz_max_len + 1];
48  int BBS_user_exp;  int BBS_user_exp;
49    
50    time_t BBS_eula_tm;
51    int BBS_update_eula = 0;
52    
53  time_t BBS_login_tm;  time_t BBS_login_tm;
54  time_t BBS_last_access_tm;  time_t BBS_last_access_tm;
55    


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1