| 17 |
#include "article_cache.h" |
#include "article_cache.h" |
| 18 |
#include "bbs.h" |
#include "bbs.h" |
| 19 |
#include "database.h" |
#include "database.h" |
| 20 |
|
#include "ip_mask.h" |
| 21 |
#include "log.h" |
#include "log.h" |
| 22 |
#include "menu.h" |
#include "menu.h" |
| 23 |
#include "section_list_loader.h" |
#include "section_list_loader.h" |
| 665 |
return (ret < 0 ? ret : op_count); |
return (ret < 0 ? ret : op_count); |
| 666 |
} |
} |
| 667 |
|
|
| 668 |
|
static void section_list_ex_menu_set_cleanup(void) |
| 669 |
|
{ |
| 670 |
|
int i; |
| 671 |
|
|
| 672 |
|
for (i = 0; i < p_section_list_pool->section_count; i++) |
| 673 |
|
{ |
| 674 |
|
if (p_section_list_pool->sections[i].ex_menu_tm > 0) |
| 675 |
|
{ |
| 676 |
|
unload_menu(&(p_section_list_pool->sections[i].ex_menu_set)); |
| 677 |
|
} |
| 678 |
|
} |
| 679 |
|
} |
| 680 |
|
|
| 681 |
int section_list_loader_launch(void) |
int section_list_loader_launch(void) |
| 682 |
{ |
{ |
| 683 |
struct sigaction act = {0}; |
struct sigaction act = {0}; |