blob: 469c6e79ccffc5eefd151b942add95d61b5ee1d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef _USER_H_
#define _USER_H_
#include <time.h>
#define USERS_MAX 1000
struct user_t {
unsigned long hash;
char *nick;
unsigned long lines[24*4];
unsigned long long words, characters, kicks, kicked, monolog_lines, monologs;
time_t seen_first, seen_last;
struct user_t *real_user, *next;
};
void user_init();
struct user_t *user_get(char *nick);
void user_free();
extern struct user_t *users;
#endif
|