/[LeafOK_CVS]/lbbs/include/user_list.h
ViewVC logotype

Diff of /lbbs/include/user_list.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 by sysadm, Tue Oct 21 06:24:51 2025 UTC Revision 1.4 by sysadm, Tue Oct 21 13:00:55 2025 UTC
# Line 20  Line 20 
20  #include "bbs.h"  #include "bbs.h"
21  #include <mysql/mysql.h>  #include <mysql/mysql.h>
22    
23    #define BBS_user_limit_per_page 20
24    
25  struct user_info_t  struct user_info_t
26  {  {
27          int32_t uid;          int32_t uid;
# Line 51  extern int detach_user_list_pool_shm(voi Line 53  extern int detach_user_list_pool_shm(voi
53    
54  extern int user_list_pool_reload(void);  extern int user_list_pool_reload(void);
55    
56  extern int user_list_try_rd_lock(int wait_sec);  extern int query_user_list(int page_id, USER_INFO *p_users, int *p_user_count, int *p_page_count);
57  extern int user_list_try_rw_lock(int wait_sec);  
58  extern int user_list_rd_unlock(void);  extern int query_user_info(int32_t uid, USER_INFO *p_user);
 extern int user_list_rw_unlock(void);  
 extern int user_list_rd_lock(void);  
 extern int user_list_rw_lock(void);  
59    
60  #endif //_USER_LIST_H_  #endif //_USER_LIST_H_


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1