| 81 |
extern void section_list_reset_articles(SECTION_LIST *p_section); |
extern void section_list_reset_articles(SECTION_LIST *p_section); |
| 82 |
extern SECTION_LIST *section_list_find_by_name(const char *sname); |
extern SECTION_LIST *section_list_find_by_name(const char *sname); |
| 83 |
extern SECTION_LIST *section_list_find_by_sid(int32_t sid); |
extern SECTION_LIST *section_list_find_by_sid(int32_t sid); |
| 84 |
|
extern int get_section_index(SECTION_LIST *p_section); |
| 85 |
|
|
| 86 |
extern int section_list_append_article(SECTION_LIST *p_section, const ARTICLE *p_article_src); |
extern int section_list_append_article(SECTION_LIST *p_section, const ARTICLE *p_article_src); |
| 87 |
extern int section_list_set_article_visible(SECTION_LIST *p_section, int32_t aid, int8_t visible); |
extern int section_list_set_article_visible(SECTION_LIST *p_section, int32_t aid, int8_t visible); |
| 93 |
|
|
| 94 |
extern int section_list_calculate_page(SECTION_LIST *p_section, int32_t start_aid); |
extern int section_list_calculate_page(SECTION_LIST *p_section, int32_t start_aid); |
| 95 |
extern int section_list_move_topic(SECTION_LIST *p_section_src, SECTION_LIST *p_section_dest, int32_t aid); |
extern int section_list_move_topic(SECTION_LIST *p_section_src, SECTION_LIST *p_section_dest, int32_t aid); |
| 96 |
|
|
| 97 |
|
extern int section_list_try_rd_lock(SECTION_LIST *p_section, int wait_sec); |
| 98 |
|
extern int section_list_try_rw_lock(SECTION_LIST *p_section, int wait_sec); |
| 99 |
|
extern int section_list_rd_unlock(SECTION_LIST *p_section); |
| 100 |
|
extern int section_list_rw_unlock(SECTION_LIST *p_section); |