added authlog
[srvx.git] / src / nickserv.h
index 93579ff561b4fac4732d5fbb221e49df7f4b17f1..ee0db3b32d5c46d45c36243469a1cf00a2cc3881 100644 (file)
@@ -88,6 +88,15 @@ struct handle_note {
     char note[1];
 };
 
+struct authlogEntry {
+    unsigned long login_time;
+    unsigned long logout_time;
+    const char *hostmask;
+    const char *quit_reason;
+    struct userNode *user;
+    struct authlogEntry *next;
+};
+
 struct handle_info {
     struct nick_info *nicks;
     struct string_list *masks;
@@ -96,6 +105,7 @@ struct handle_info {
     struct handle_cookie *cookie;
     struct handle_note *notes;
     struct language *language;
+    struct authlogEntry *authlog;
     char *website;
     char *devnull;
     char *email_addr;