--- lbbs/src/menu_proc.c 2025/11/11 00:28:05 1.50 +++ lbbs/src/menu_proc.c 2025/11/21 07:56:00 1.53 @@ -15,6 +15,8 @@ #include "article_view_log.h" #include "bbs.h" #include "bbs_cmd.h" +#include "bbs_net.h" +#include "chicken.h" #include "common.h" #include "io.h" #include "log.h" @@ -68,6 +70,7 @@ int exec_mbem(void *param) c++; } +#ifdef LOAD_SO hdll = dlopen(s + 5, RTLD_LAZY); if (hdll) @@ -93,6 +96,25 @@ int exec_mbem(void *param) prints("失败原因:%s\r\n", dlerror()); press_any_key(); } +#else + (void)hdll; + (void)func; + + if (strcasecmp(c, "bbs_net") == 0) + { + bbs_net(); + } + else if (strcasecmp(c, "chicken_main") == 0) + { + chicken_main(); + } + else + { + clearscr(); + prints("未知入口 [%s] !!\r\n", c); + press_any_key(); + } +#endif } return REDRAW; @@ -380,4 +402,14 @@ int edit_intro(void *param) } return REDRAW; +} + +int edit_sign(void *param) +{ + if (user_sign_edit(BBS_priv.uid) < 0) + { + log_error("user_sign_edit(%d) error\n", BBS_priv.uid); + } + + return REDRAW; }