summaryrefslogtreecommitdiff
path: root/user.h
blob: a5245049536b7b81edd23b3286216731444e34d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef _USER_H_
#define _USER_H_

#define USERS_MAX 1000

struct user_t {
	unsigned long hash;
	char *nick;
	unsigned long lines[24*4];
	unsigned long long words, characters;
	struct user_t *next;
};

void user_init();
struct user_t *user_get(char *_nick);
void user_free();

extern struct user_t *users;

#endif