--- lbbs/include/bbs.h 2025/10/23 14:49:24 1.32 +++ lbbs/include/bbs.h 2025/11/04 14:58:55 1.35 @@ -1,18 +1,10 @@ -/*************************************************************************** - bbs.h - description - ------------------- - Copyright : (C) 2004-2025 by Leaflet - Email : leaflet@leafok.com - ***************************************************************************/ - -/*************************************************************************** - * * - * 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. * - * * - ***************************************************************************/ +/* SPDX-License-Identifier: GPL-3.0-or-later */ +/* + * bbs + * - BBS related common definitions + * + * Copyright (C) 2004-2025 Leaflet + */ #ifndef _BBS_H_ #define _BBS_H_ @@ -74,7 +66,8 @@ extern time_t BBS_current_action_tm; extern const int BBS_current_action_refresh_interval; extern const char *get_astro_name(time_t birthday); -extern const char *get_user_level_name(int point); +extern int get_user_level(int point); +extern const char *get_user_level_name(int level); extern char *setuserfile(char *buf, size_t len, const char *filename);