/[LeafOK_CVS]/lbbs/include/section_list_loader.h
ViewVC logotype

Diff of /lbbs/include/section_list_loader.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.11 by sysadm, Tue Jun 3 05:33:06 2025 UTC Revision 1.14 by sysadm, Tue Jun 24 10:01:24 2025 UTC
# Line 17  Line 17 
17  #ifndef _SECTION_LIST_LOADER_H_  #ifndef _SECTION_LIST_LOADER_H_
18  #define _SECTION_LIST_LOADER_H_  #define _SECTION_LIST_LOADER_H_
19    
20    #include "menu.h"
21  #include "section_list.h"  #include "section_list.h"
22  #include <mysql/mysql.h>  #include <mysql/mysql.h>
23    
# Line 26  Line 27 
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(void);  extern int load_section_config_from_db(int reload);
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
# Line 48  extern int section_list_loader_reload(vo Line 49  extern int section_list_loader_reload(vo
49    
50  // Return on success : real page_id (>= 0)  // Return on success : real page_id (>= 0)
51  //           failure : error number (< 0)  //           failure : error number (< 0)
52  extern int query_section_articles(SECTION_LIST *p_section, int page_id, ARTICLE *p_articles[], int *p_article_count, int *p_page_count);  extern int query_section_articles(SECTION_LIST *p_section, int page_id, ARTICLE *p_articles[],
53                                                                      int *p_article_count, int *p_page_count, int *p_ontop_start_offset);
54    
55  // Input direction =  0 : locate p_article_cur  // Input direction =  0 : locate p_article_cur
56  //                   -1 :        p_article_cur->p_topic_prior  //                   -1 :        p_article_cur->p_topic_prior
# Line 56  extern int query_section_articles(SECTIO Line 58  extern int query_section_articles(SECTIO
58  // Return on success : found (1)  // Return on success : found (1)
59  //                   : not found (0)  //                   : not found (0)
60  //           failure : error number (< 0)  //           failure : error number (< 0)
61  extern int locate_article_in_section(SECTION_LIST *p_section, const ARTICLE *p_article_cur, int direction,  extern int locate_article_in_section(SECTION_LIST *p_section, const ARTICLE *p_article_cur, int direction, int step,
62                                                                           int *p_page_id, int *p_visible_offset, int *p_article_count);                                                                           int *p_page_id, int *p_visible_offset, int *p_article_count);
63    
64    extern int get_section_ex_menu_set(SECTION_LIST *p_section, MENU_SET *p_ex_menu_set);
65    
66  #endif //_SECTION_LIST_LOADER_H_  #endif //_SECTION_LIST_LOADER_H_


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1