| 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 scan_article_in_section_by_uid(SECTION_LIST *p_section, const ARTICLE *p_article_cur, |
| 68 |
|
int direction, int32_t uid, const ARTICLE **pp_article); |
| 69 |
|
extern int scan_article_in_section_by_username(SECTION_LIST *p_section, const ARTICLE *p_article_cur, |
| 70 |
|
int direction, const char *username, const ARTICLE **pp_article); |
| 71 |
|
extern int scan_article_in_section_by_title(SECTION_LIST *p_section, const ARTICLE *p_article_cur, |
| 72 |
|
int direction, const char *title, const ARTICLE **pp_article); |
| 73 |
|
|
| 74 |
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); |
| 75 |
|
|
| 76 |
#endif //_SECTION_LIST_LOADER_H_ |
#endif //_SECTION_LIST_LOADER_H_ |