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

Diff of /lbbs/include/section_list.h

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

Revision 1.15 by sysadm, Mon May 26 23:38:11 2025 UTC Revision 1.16 by sysadm, Tue May 27 00:54:01 2025 UTC
# Line 73  typedef struct section_list_t SECTION_LI Line 73  typedef struct section_list_t SECTION_LI
73  // in order to allocate enough memory for blocks  // in order to allocate enough memory for blocks
74  extern int article_block_init(const char *filename, int block_count);  extern int article_block_init(const char *filename, int block_count);
75  extern void article_block_cleanup(void);  extern void article_block_cleanup(void);
76    
77    extern int set_article_block_shm_readonly(void);
78    extern int detach_article_block_shm(void);
79    
80  extern int article_block_reset(void);  extern int article_block_reset(void);
81    
82  extern ARTICLE *article_block_find_by_aid(int32_t aid);  extern ARTICLE *article_block_find_by_aid(int32_t aid);
# Line 85  extern int article_count_of_topic(int32_ Line 89  extern int article_count_of_topic(int32_
89  extern int section_list_init(const char *filename);  extern int section_list_init(const char *filename);
90  extern void section_list_cleanup(void);  extern void section_list_cleanup(void);
91    
92    extern int set_section_list_shm_readonly(void);
93    extern int detach_section_list_shm(void);
94    
95  extern SECTION_LIST *section_list_create(int32_t sid, const char *sname, const char *stitle, const char *master_name);  extern SECTION_LIST *section_list_create(int32_t sid, const char *sname, const char *stitle, const char *master_name);
96  extern void section_list_reset_articles(SECTION_LIST *p_section);  extern void section_list_reset_articles(SECTION_LIST *p_section);
97  extern SECTION_LIST *section_list_find_by_name(const char *sname);  extern SECTION_LIST *section_list_find_by_name(const char *sname);


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

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