summaryrefslogtreecommitdiff
path: root/word.h
blob: 1b0f5790e0689228f38acefdef333187fed6f604 (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 count;
	struct word_t *next;
};

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

extern struct word_t *words;

#endif