summaryrefslogtreecommitdiff
path: root/word.h
blob: b0c5d1596c698f4796cb15eaf10e323fbfe39ece (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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();

#endif