| 3 |
* section_list |
* section_list |
| 4 |
* - data models and basic operations of section and article |
* - data models and basic operations of section and article |
| 5 |
* |
* |
| 6 |
* Copyright (C) 2004-2025 Leaflet <leaflet@leafok.com> |
* Copyright (C) 2004-2026 Leaflet <leaflet@leafok.com> |
| 7 |
*/ |
*/ |
| 8 |
|
|
| 9 |
#ifndef _SECTION_LIST_H_ |
#ifndef _SECTION_LIST_H_ |
| 138 |
|
|
| 139 |
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); |
| 140 |
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); |
| 141 |
|
extern int section_list_set_article_excerption(SECTION_LIST *p_section, int32_t aid, int8_t excerption); |
| 142 |
|
|
| 143 |
extern int section_list_update_article_ontop(SECTION_LIST *p_section, ARTICLE *p_article); |
extern int section_list_update_article_ontop(SECTION_LIST *p_section, ARTICLE *p_article); |
| 144 |
extern int section_list_page_count_with_ontop(SECTION_LIST *p_section); |
extern int section_list_page_count_with_ontop(SECTION_LIST *p_section); |