diff options
Diffstat (limited to '6.1.1/key.h')
-rw-r--r-- | 6.1.1/key.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/6.1.1/key.h b/6.1.1/key.h new file mode 100644 index 0000000..1b46587 --- /dev/null +++ b/6.1.1/key.h @@ -0,0 +1,13 @@ +#ifndef KEY_H + +#define NKEYS (sizeof(keytab) / sizeof(keytab[0])) + +struct key { + const char *word; + int count; +}; + +#define KEY_H +#endif + +struct key *bsearch(char *word, struct key tab[], int n); |