--- lbbs/include/menu_proc.h 2025/05/06 05:31:26 1.5 +++ lbbs/include/menu_proc.h 2025/11/05 14:59:31 1.21 @@ -1,28 +1,30 @@ -/*************************************************************************** - 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-2025 Leaflet + */ #ifndef _MENU_PROC_H_ #define _MENU_PROC_H_ -extern int exec_mbem(const char *); -extern int exitbbs(const char *); -extern int bbsnet(const char *); -extern int license(const char *); -extern int copyright(const char *); -extern int reloadbbsmenu(const char *); -extern int shutdownbbs(const char *); +extern int list_section(void *param); +extern int exec_mbem(void *param); +extern int exit_bbs(void *param); +extern int license(void *param); +extern int copyright(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); #endif //_MENU_PROC_H_