friends

struct friends {
    char id[13];
    char exp[LEN_FRIEND_EXP];
#ifdef FRIEND_MULTI_GROUP
    int groupid;
#endif
};
struct friends_info {
    char exp[LEN_FRIEND_EXP];
};
struct friends_group {
    char name[15];
    unsigned int p;
    char f;
    char b;
};

utmp.c

cmpfuid [(const void*a,const void*b)]
  • Friend.NCaseId()
getfriendstr [(struct userec* user,struct user_info* puinfo)]
  • User.GetFriends()
myfriend [(int uid, char *fexp)]
  • UserInfo.HasFriend()
hisfriend [(int uid,struct user_info* him)]
  • UserInfo.HasFriend()