| 19 |
|
|
| 20 |
#include "bbs.h" |
#include "bbs.h" |
| 21 |
#include "common.h" |
#include "common.h" |
| 22 |
|
#include "menu.h" |
| 23 |
#include <time.h> |
#include <time.h> |
| 24 |
|
|
| 25 |
#define BBS_article_title_max_len 80 |
#define BBS_article_title_max_len 80 |
| 74 |
int32_t last_page_visible_article_count; |
int32_t last_page_visible_article_count; |
| 75 |
ARTICLE *p_ontop_articles[BBS_ontop_article_limit_per_section]; |
ARTICLE *p_ontop_articles[BBS_ontop_article_limit_per_section]; |
| 76 |
int32_t ontop_article_count; |
int32_t ontop_article_count; |
| 77 |
|
MENU_SET ex_menu_set; |
| 78 |
|
time_t ex_menu_tm; |
| 79 |
}; |
}; |
| 80 |
typedef struct section_list_t SECTION_LIST; |
typedef struct section_list_t SECTION_LIST; |
| 81 |
|
|
| 100 |
|
|
| 101 |
extern int section_list_init(const char *filename); |
extern int section_list_init(const char *filename); |
| 102 |
extern void section_list_cleanup(void); |
extern void section_list_cleanup(void); |
| 103 |
|
extern void section_list_ex_menu_set_cleanup(void); |
| 104 |
|
|
| 105 |
extern int set_section_list_shm_readonly(void); |
extern int set_section_list_shm_readonly(void); |
| 106 |
extern int detach_section_list_shm(void); |
extern int detach_section_list_shm(void); |