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

Diff of /lbbs/include/user_priv.h

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

Revision 1.4 by sysadm, Fri May 30 02:56:02 2025 UTC Revision 1.6 by sysadm, Sat Jun 7 06:16:25 2025 UTC
# Line 18  Line 18 
18  #define _USER_PRIV_H_  #define _USER_PRIV_H_
19    
20  #include "bbs.h"  #include "bbs.h"
21  #include <mysql.h>  #include <mysql/mysql.h>
22    
23  // User privilege  // User privilege
24  #define S_NONE 0x0  #define S_NONE 0x0
# Line 43  Line 43 
43    
44  struct user_priv  struct user_priv
45  {  {
46          long int uid;          int uid;
47          int level;          int level;
48          int g_priv;          int g_priv;
49          struct          struct
# Line 93  inline int is_favor(BBS_user_priv *p_pri Line 93  inline int is_favor(BBS_user_priv *p_pri
93          return is_favor;          return is_favor;
94  }  }
95    
96  extern int load_priv(MYSQL *db, BBS_user_priv *p_priv, long int uid);  extern int load_priv(MYSQL *db, BBS_user_priv *p_priv, int uid);
97    
98  #endif //_USER_PRIV_H_  #endif //_USER_PRIV_H_


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

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