]> jfr.im git - irc/quakenet/newserv.git/blame - helpmod/helpmod_user.h
merge
[irc/quakenet/newserv.git] / helpmod / helpmod_user.h
CommitLineData
c86edd1d
Q
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
7typedef 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
15extern helpmod_user helpmod_users;
16extern helpmod_entry helpmod_base;
17
18helpmod_user helpmod_get_user(long numeric);
19void helpmod_clear_users(void);
20void helpmod_clear_inactives(void);
21void helpmod_init_users(void);
22long helpmod_user_count(void);
23
24#endif