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

#define WORDS_MAX 10000

struct word_t {
	unsigned long hash;
	char *name;
	unsigned long long count;
	struct word_t *next;
};

void word_init();
struct word_t *word_get(char *name);
void word_free();

extern struct word_t *words;

#endif