--- lbbs/include/menu_proc.h 2005/05/07 12:08:28 1.3 +++ lbbs/include/menu_proc.h 2025/11/11 10:54:22 1.22 @@ -1,29 +1,31 @@ -/*************************************************************************** - menu_proc.c - description - ------------------- - begin : Fri May 6 2005 - copyright : (C) 2005 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 2 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); +extern int edit_sign(void *param); #endif //_MENU_PROC_H_