| 664 |
p_section->ontop_article_count = 0; |
p_section->ontop_article_count = 0; |
| 665 |
} |
} |
| 666 |
|
|
| 667 |
SECTION_LIST *section_list_find_by_name(const char *sname, int64_t *p_index) |
SECTION_LIST *section_list_find_by_name(const char *sname) |
| 668 |
{ |
{ |
| 669 |
int64_t index; |
int64_t index; |
| 670 |
int ret; |
int ret; |
| 686 |
return NULL; |
return NULL; |
| 687 |
} |
} |
| 688 |
|
|
|
if (p_index != NULL) |
|
|
{ |
|
|
*p_index = index; |
|
|
} |
|
|
|
|
| 689 |
return (p_section_list_pool->sections + index); |
return (p_section_list_pool->sections + index); |
| 690 |
} |
} |
| 691 |
|
|
| 692 |
SECTION_LIST *section_list_find_by_sid(int32_t sid, int64_t *p_index) |
SECTION_LIST *section_list_find_by_sid(int32_t sid) |
| 693 |
{ |
{ |
| 694 |
int64_t index; |
int64_t index; |
| 695 |
int ret; |
int ret; |
| 714 |
return NULL; |
return NULL; |
| 715 |
} |
} |
| 716 |
|
|
|
if (p_index != NULL) |
|
|
{ |
|
|
*p_index = index; |
|
|
} |
|
|
|
|
| 717 |
return (p_section_list_pool->sections + index); |
return (p_section_list_pool->sections + index); |
| 718 |
} |
} |
| 719 |
|
|