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

Diff of /lbbs/include/bbs.h

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

Revision 1.2 by sysadm, Fri Oct 22 15:20:32 2004 UTC Revision 1.5 by sysadm, Tue Mar 22 08:19:11 2005 UTC
# Line 19  Line 19 
19    
20  //BBS  //BBS
21  #define BBS_max_section 1024  #define BBS_max_section 1024
22    #define BBS_max_username_length 20
23    
24  extern char BBS_id[20];  extern char BBS_id[20];
25  extern char BBS_name[50];  extern char BBS_name[50];
# Line 61  struct user_priv Line 62  struct user_priv
62    {    {
63      int sid;      int sid;
64      int s_priv;      int s_priv;
65    }s_priv_list[BBS_max_section];    } s_priv_list[BBS_max_section];
66    int s_count;    int s_count;
67  };  };
68    
69  typedef struct user_priv BBS_user_priv;  typedef struct user_priv BBS_user_priv;
70    
71  //Session  //Session
72  extern BBS_user_priv BBS_priv;  #define MAX_DELAY_TIME          600
73    
74    extern char BBS_username[BBS_max_username_length];
75    extern BBS_user_priv BBS_priv;
76  extern int BBS_passwd_complex;  extern int BBS_passwd_complex;
77    
78  extern time_t BBS_login_tm;  extern time_t BBS_login_tm;
79  extern time_t BBS_last_access_tm;  extern time_t BBS_last_access_tm;
80  extern time_t BBS_last_sub_tm;  extern time_t BBS_last_sub_tm;
81    
82    extern char BBS_current_section_name[20];


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

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