| 1 |
/*************************************************************************** |
/* SPDX-License-Identifier: GPL-3.0-or-later */ |
| 2 |
bbs.h - 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 |
|
*/ |
|
/*************************************************************************** |
|
|
* * |
|
|
* This program is free software; you can redistribute it and/or modify * |
|
|
* 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. * |
|
|
* * |
|
|
***************************************************************************/ |
|
| 8 |
|
|
| 9 |
#ifndef _BBS_H_ |
#ifndef _BBS_H_ |
| 10 |
#define _BBS_H_ |
#define _BBS_H_ |
| 66 |
extern const int BBS_current_action_refresh_interval; |
extern const int BBS_current_action_refresh_interval; |
| 67 |
|
|
| 68 |
extern const char *get_astro_name(time_t birthday); |
extern const char *get_astro_name(time_t birthday); |
| 69 |
extern const char *get_user_level_name(int point); |
extern int get_user_level(int point); |
| 70 |
|
extern const char *get_user_level_name(int level); |
| 71 |
|
|
| 72 |
extern char *setuserfile(char *buf, size_t len, const char *filename); |
extern char *setuserfile(char *buf, size_t len, const char *filename); |
| 73 |
|
|