/[LeafOK_CVS]/lbbs/src/bbs.c
ViewVC logotype

Diff of /lbbs/src/bbs.c

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

Revision 1.5 by sysadm, Fri Apr 8 11:11:11 2005 UTC Revision 1.6 by sysadm, Fri May 6 15:48:44 2005 UTC
# Line 26  char BBS_address[50] = ""; Line 26  char BBS_address[50] = "";
26  unsigned int BBS_port = 23;  unsigned int BBS_port = 23;
27  long BBS_max_client = 256;  long BBS_max_client = 256;
28  long BBS_max_user = 10000;  long BBS_max_user = 10000;
29  char BBS_start_dt[50] = "2004Äê 1Ô 1ÈÕ";  char BBS_start_dt[50] = "2004�� 1�� 1��";
30    
31  char BBS_username[BBS_max_username_length];  char BBS_username[BBS_max_username_length];
32  BBS_user_priv BBS_priv;  BBS_user_priv BBS_priv;
# Line 38  time_t BBS_last_access_tm; Line 38  time_t BBS_last_access_tm;
38  time_t BBS_last_sub_tm;  time_t BBS_last_sub_tm;
39    
40  char BBS_current_section_name[20];  char BBS_current_section_name[20];
41    
42    char *
43    setuserfile (char *buf, const char *filename)
44    {
45      sprintf (buf, "data/%s/%ld", filename, BBS_priv.uid);
46      return buf;
47    }
48    
49    char *
50    sethomefile (char *buf, long int uid, char *filename) {
51        sprintf (buf, "data/%s/%ld", filename, uid);
52        return buf;
53    }


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

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