| 18 |
#define _USER_LIST_H_ |
#define _USER_LIST_H_ |
| 19 |
|
|
| 20 |
#include "bbs.h" |
#include "bbs.h" |
| 21 |
|
#include "common.h" |
| 22 |
#include <mysql/mysql.h> |
#include <mysql/mysql.h> |
| 23 |
|
|
| 24 |
#define BBS_user_limit_per_page 20 |
#define BBS_user_limit_per_page 20 |
| 97 |
extern int query_user_online_info(int32_t id, USER_ONLINE_INFO *p_user); |
extern int query_user_online_info(int32_t id, USER_ONLINE_INFO *p_user); |
| 98 |
extern int query_user_online_info_by_uid(int32_t uid, USER_ONLINE_INFO *p_users, int *p_user_cnt, int start_id); |
extern int query_user_online_info_by_uid(int32_t uid, USER_ONLINE_INFO *p_users, int *p_user_cnt, int start_id); |
| 99 |
|
|
| 100 |
|
extern int get_user_id_list(int32_t *p_uid_list, int *p_user_cnt, int start_uid); |
| 101 |
|
|
| 102 |
|
extern int user_stat_update(void); |
| 103 |
|
extern int user_stat_get_article_cnt(int32_t uid); |
| 104 |
|
|
| 105 |
#endif //_USER_LIST_H_ |
#endif //_USER_LIST_H_ |