【 在 atppp (Big Mouse) 的大作中提到: 】
: 转换程序里面的老结构和你那个一样么...
一模一样,这是转换程序的结构:
#define CONV_PASS 1
typedef struct olduserec { /* Structure used to hold information in */
char userid[IDLEN + 2]; /* PASSFILE */
time_t firstlogin;
char lasthost[16];
unsigned int numlogins;
unsigned int numposts;
unsigned int medals; /* 奖章数 */
unsigned int money; /* 金钱 */
unsigned int inbank; /* 存款 */
time_t banktime; /* 存入时间 */
char flags[2];
char passwd[OLDPASSLEN];
char username[NAMELEN];
char ident[NAMELEN];
char termtype[16];
char reginfo[STRLEN - 16];
unsigned userlevel;
time_t lastlogin;
time_t lastlogout; /* 最近离线时间 */
time_t stay;
char realname[NAMELEN];
char address[STRLEN];
char email[STRLEN - 12];
unsigned int nummails;
time_t lastjustify;
char gender;
unsigned char birthyear;
unsigned char birthmonth;
unsigned char birthday;
int signature;
unsigned int userdefine;
time_t notedate;
int noteline;
} olduserec;
--
FROM 202.193.161.*