/[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.34 by sysadm, Fri Oct 24 00:47:42 2025 UTC Revision 1.39 by sysadm, Tue Nov 11 00:28:05 2025 UTC
# Line 1  Line 1 
1  /***************************************************************************  /* SPDX-License-Identifier: GPL-3.0-or-later */
2                                                          bbs.c  -  description  /*
3                                                           -------------------   * bbs
4          Copyright            : (C) 2004-2025 by Leaflet   *   - BBS related common definitions
5          Email                : leaflet@leafok.com   *
6   ***************************************************************************/   * Copyright (C) 2004-2025  Leaflet <leaflet@leafok.com>
7     */
8  /***************************************************************************  
9   *                                                                         *  #ifdef HAVE_CONFIG_H
10   *   This program is free software; you can redistribute it and/or modify  *  #include "config.h"
11   *   it under the terms of the GNU General Public License as published by  *  #endif
  *   the Free Software Foundation; either version 3 of the License, or     *  
  *   (at your option) any later version.                                   *  
  *                                                                         *  
  ***************************************************************************/  
12    
13  #include "bbs.h"  #include "bbs.h"
14  #include "common.h"  #include "common.h"
# Line 22  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 36  int BBS_max_client_per_ip = MAX_CLIENT_P Line 35  int BBS_max_client_per_ip = MAX_CLIENT_P
35  char BBS_start_dt[BBS_start_dt_max_len + 1] = "2000年 1月 1日";  char BBS_start_dt[BBS_start_dt_max_len + 1] = "2000年 1月 1日";
36  int BBS_sys_id = 1;  int BBS_sys_id = 1;
37    
38  const int BBS_section_list_load_interval = 5; // second  const int BBS_section_list_load_interval = 1; // second
39    
40  // User  // User
41  const int BBS_user_list_load_interval = 60;               // 1 minute  const int BBS_user_list_load_interval = 60;               // 1 minute


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

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