| 15 |
#include "article_view_log.h" |
#include "article_view_log.h" |
| 16 |
#include "bbs.h" |
#include "bbs.h" |
| 17 |
#include "bbs_cmd.h" |
#include "bbs_cmd.h" |
| 18 |
|
#include "bbs_net.h" |
| 19 |
|
#include "chicken.h" |
| 20 |
#include "common.h" |
#include "common.h" |
| 21 |
#include "io.h" |
#include "io.h" |
| 22 |
#include "log.h" |
#include "log.h" |
| 70 |
c++; |
c++; |
| 71 |
} |
} |
| 72 |
|
|
| 73 |
|
#ifdef _LOAD_SO |
| 74 |
hdll = dlopen(s + 5, RTLD_LAZY); |
hdll = dlopen(s + 5, RTLD_LAZY); |
| 75 |
|
|
| 76 |
if (hdll) |
if (hdll) |
| 96 |
prints("失败原因:%s\r\n", dlerror()); |
prints("失败原因:%s\r\n", dlerror()); |
| 97 |
press_any_key(); |
press_any_key(); |
| 98 |
} |
} |
| 99 |
|
#else |
| 100 |
|
(void)hdll; |
| 101 |
|
(void)func; |
| 102 |
|
|
| 103 |
|
if (strcasecmp(c, "bbs_net") == 0) |
| 104 |
|
{ |
| 105 |
|
bbs_net(); |
| 106 |
|
} |
| 107 |
|
else if (strcasecmp(c, "chicken_main") == 0) |
| 108 |
|
{ |
| 109 |
|
chicken_main(); |
| 110 |
|
} |
| 111 |
|
else |
| 112 |
|
{ |
| 113 |
|
clearscr(); |
| 114 |
|
prints("未知入口 [%s] !!\r\n", c); |
| 115 |
|
press_any_key(); |
| 116 |
|
} |
| 117 |
|
#endif |
| 118 |
} |
} |
| 119 |
|
|
| 120 |
return REDRAW; |
return REDRAW; |