| 27 |
extern int section_list_loader_pid; |
extern int section_list_loader_pid; |
| 28 |
extern int last_article_op_log_mid; |
extern int last_article_op_log_mid; |
| 29 |
|
|
| 30 |
extern int load_section_config_from_db(int reload); |
extern int load_section_config_from_db(int update_gen_ex); |
| 31 |
|
|
| 32 |
// Input global_lock = 0 : lock / unlock corresponding section per article |
// Input global_lock = 0 : lock / unlock corresponding section per article |
| 33 |
// 1 : lock / unlock all sections per invocation |
// 1 : lock / unlock all sections per invocation |
| 45 |
|
|
| 46 |
extern int section_list_loader_launch(void); |
extern int section_list_loader_launch(void); |
| 47 |
|
|
|
extern int section_list_loader_reload(void); |
|
|
|
|
| 48 |
// Return on success : real page_id (>= 0) |
// Return on success : real page_id (>= 0) |
| 49 |
// failure : error number (< 0) |
// failure : error number (< 0) |
| 50 |
extern int query_section_articles(SECTION_LIST *p_section, int page_id, ARTICLE *p_articles[], |
extern int query_section_articles(SECTION_LIST *p_section, int page_id, ARTICLE *p_articles[], |
| 59 |
extern int locate_article_in_section(SECTION_LIST *p_section, const ARTICLE *p_article_cur, int direction, int step, |
extern int locate_article_in_section(SECTION_LIST *p_section, const ARTICLE *p_article_cur, int direction, int step, |
| 60 |
int *p_page_id, int *p_visible_offset, int *p_article_count); |
int *p_page_id, int *p_visible_offset, int *p_article_count); |
| 61 |
|
|
| 62 |
|
// Return on success : found (1) |
| 63 |
|
// : not found (0) |
| 64 |
|
// failure : error number (< 0) |
| 65 |
|
extern int scan_unread_article_in_section(SECTION_LIST *p_section, const ARTICLE *p_article_cur, const ARTICLE **pp_article_unread); |
| 66 |
|
|
| 67 |
extern int get_section_ex_menu_set(SECTION_LIST *p_section, MENU_SET *p_ex_menu_set); |
extern int get_section_ex_menu_set(SECTION_LIST *p_section, MENU_SET *p_ex_menu_set); |
| 68 |
|
|
| 69 |
#endif //_SECTION_LIST_LOADER_H_ |
#endif //_SECTION_LIST_LOADER_H_ |