| 17 |
enum section_list_constant_t |
enum section_list_constant_t |
| 18 |
{ |
{ |
| 19 |
BBS_article_title_max_len = 160, |
BBS_article_title_max_len = 160, |
| 20 |
#if defined(__CYGWIN__) |
#ifdef __CYGWIN__ |
| 21 |
BBS_article_limit_per_section = 10000, |
BBS_article_limit_per_section = 10000, |
| 22 |
#else |
#else |
| 23 |
BBS_article_limit_per_section = 50000, |
BBS_article_limit_per_section = 50000, |
| 80 |
|
|
| 81 |
struct section_list_pool_t |
struct section_list_pool_t |
| 82 |
{ |
{ |
| 83 |
int shmid; |
size_t shm_size; |
| 84 |
SECTION_LIST sections[BBS_max_section]; |
SECTION_LIST sections[BBS_max_section]; |
| 85 |
int section_count; |
int section_count; |
| 86 |
int semid; |
int semid; |