diff options
Diffstat (limited to 'src/common/userlist.h')
-rw-r--r-- | src/common/userlist.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/common/userlist.h b/src/common/userlist.h index c1070670..777d61ea 100644 --- a/src/common/userlist.h +++ b/src/common/userlist.h @@ -28,6 +28,7 @@ struct User char *hostname; char *realname; char *servername; + char *account; time_t lasttalk; unsigned int access; /* axs bit field */ char prefix[2]; /* @ + % */ @@ -43,13 +44,14 @@ struct User int userlist_add_hostname (session *sess, char *nick, char *hostname, char *realname, - char *servername, unsigned int away); + char *servername, char *account, unsigned int away); void userlist_set_away (session *sess, char *nick, unsigned int away); +void userlist_set_account (session *sess, char *nick, char *account); struct User *userlist_find (session *sess, const char *name); struct User *userlist_find_global (server *serv, char *name); void userlist_clear (session *sess); void userlist_free (session *sess); -void userlist_add (session *sess, char *name, char *hostname); +void userlist_add (session *sess, char *name, char *hostname, char *account, char *realname); int userlist_remove (session *sess, char *name); void userlist_remove_user (session *sess, struct User *user); int userlist_change (session *sess, char *oldname, char *newname); |