/[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.21 by sysadm, Tue Nov 4 14:58:55 2025 UTC Revision 1.24 by sysadm, Wed Dec 3 14:04:02 2025 UTC
# Line 11  Line 11 
11    
12  #include "menu.h"  #include "menu.h"
13  #include "section_list.h"  #include "section_list.h"
14  #include <mysql/mysql.h>  #include <mysql.h>
15    
16  #define ERR_UNKNOWN_SECTION -101  enum section_list_loader_constant_t
17  #define LOAD_ARTICLE_COUNT_LIMIT 1000  {
18            ERR_UNKNOWN_SECTION = -101,
19            LOAD_ARTICLE_COUNT_LIMIT = 1000,
20    };
21    
22  extern int section_list_loader_pid;  extern int section_list_loader_pid;
23  extern int last_article_op_log_mid;  extern int last_article_op_log_mid;
# Line 39  extern int section_list_loader_launch(vo Line 42  extern int section_list_loader_launch(vo
42    
43  // Return on success : real page_id (>= 0)  // Return on success : real page_id (>= 0)
44  //           failure : error number (< 0)  //           failure : error number (< 0)
45  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, const ARTICLE *p_articles[],
46                                                                    int *p_article_count, int *p_page_count, int *p_ontop_start_offset);                                                                    int *p_article_count, int *p_page_count, int *p_ontop_start_offset);
47    
48  // Input direction =  0 : locate p_article_cur  // Input direction =  0 : locate p_article_cur


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

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