| 81 |
USER_ONLINE_INFO users[BBS_max_user_online_count]; |
USER_ONLINE_INFO users[BBS_max_user_online_count]; |
| 82 |
USER_INFO_INDEX_UID index_uid[BBS_max_user_online_count]; |
USER_INFO_INDEX_UID index_uid[BBS_max_user_online_count]; |
| 83 |
int32_t user_count; |
int32_t user_count; |
| 84 |
|
int32_t guest_count; |
| 85 |
}; |
}; |
| 86 |
typedef struct user_online_list_t USER_ONLINE_LIST; |
typedef struct user_online_list_t USER_ONLINE_LIST; |
| 87 |
|
|
| 95 |
extern int query_user_list(int page_id, USER_INFO *p_users, int *p_user_count, int *p_page_count); |
extern int query_user_list(int page_id, USER_INFO *p_users, int *p_user_count, int *p_page_count); |
| 96 |
extern int query_user_online_list(int page_id, USER_ONLINE_INFO *p_online_users, int *p_user_count, int *p_page_count); |
extern int query_user_online_list(int page_id, USER_ONLINE_INFO *p_online_users, int *p_user_count, int *p_page_count); |
| 97 |
|
|
| 98 |
|
extern int get_user_list_count(int *p_user_cnt); |
| 99 |
|
extern int get_user_online_list_count(int *p_user_cnt, int *p_guest_cnt); |
| 100 |
|
|
| 101 |
extern int query_user_info(int32_t id, USER_INFO *p_user); |
extern int query_user_info(int32_t id, USER_INFO *p_user); |
| 102 |
extern int query_user_info_by_uid(int32_t uid, USER_INFO *p_user); |
extern int query_user_info_by_uid(int32_t uid, USER_INFO *p_user); |
| 103 |
|
|