]> jfr.im git - irc/quakenet/newserv.git/blob - helpmod/helpmod_user.h
Initial Import
[irc/quakenet/newserv.git] / helpmod / helpmod_user.h
1 #ifndef HELPMOD_USER_H
2 #define HELPMOD_USER_H
3
4 #include <time.h>
5 #include "helpmod_entries.h"
6 #define HELPMOD_USER_TIMEOUT 300
7 typedef struct helpmod_user_struct
8 {
9 long numeric;
10 time_t last_active;
11 helpmod_entry state;
12 struct helpmod_user_struct* next;
13 } *helpmod_user;
14
15 extern helpmod_user helpmod_users;
16 extern helpmod_entry helpmod_base;
17
18 helpmod_user helpmod_get_user(long numeric);
19 void helpmod_clear_users(void);
20 void helpmod_clear_inactives(void);
21 void helpmod_init_users(void);
22 long helpmod_user_count(void);
23
24 #endif