--- lbbs/include/menu_proc.h 2025/05/17 15:39:51 1.6 +++ lbbs/include/menu_proc.h 2026/01/03 10:27:14 1.24 @@ -1,28 +1,32 @@ -/*************************************************************************** - menu_proc.c - 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 */ +/* + * menu_proc + * - handler functions of menu commands + * + * Copyright (C) 2004-2026 Leaflet + */ #ifndef _MENU_PROC_H_ #define _MENU_PROC_H_ +extern int list_section(void *param); extern int exec_mbem(void *param); -extern int exitbbs(void *param); -extern int bbsnet(void *param); +extern int exit_bbs(void *param); +extern int eula(void *param); extern int license(void *param); extern int copyright(void *param); -extern int reloadbbsmenu(void *param); -extern int shutdownbbs(void *param); +extern int version(void *param); +extern int reload_bbs_conf(void *param); +extern int shutdown_bbs(void *param); +extern int favor_section_filter(void *param); +extern int view_ex_article(void *param); +extern int list_ex_section(void *param); +extern int show_top10_menu(void *param); +extern int locate_article(void *param); +extern int favor_topic(void *param); +extern int list_user(void *param); +extern int list_online_user(void *param); +extern int edit_intro(void *param); +extern int edit_sign(void *param); #endif //_MENU_PROC_H_