| 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 |
* * |
#include "config.h" |
| 11 |
* This program is free software; you can redistribute it and/or modify * |
#endif |
|
* it under the terms of the GNU General Public License as published by * |
|
|
* 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" |
| 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"; |