--- lbbs/include/article_cache.h 2025/06/01 14:04:19 1.6 +++ lbbs/include/article_cache.h 2025/06/21 06:52:24 1.8 @@ -18,8 +18,8 @@ #define _ARTICLE_CACHE_H_ #include "common.h" -#include "str_process.h" #include "section_list.h" +#include "str_process.h" struct article_cache_t { @@ -34,6 +34,7 @@ typedef struct article_cache_t ARTICLE_C extern int article_cache_generate(const char *cache_dir, const ARTICLE *p_article, const SECTION_LIST *p_section, const char *content, const char *sub_ip, int overwrite); +extern void article_cache_cleanup(void); extern int article_cache_load(ARTICLE_CACHE *p_cache, const char *cache_dir, const ARTICLE *p_article); extern int article_cache_unload(ARTICLE_CACHE *p_cache);