19 lines
355 B
C
19 lines
355 B
C
// Declares a dictionary's functionality
|
|
|
|
#ifndef DICTIONARY_H
|
|
#define DICTIONARY_H
|
|
|
|
#include <stdbool.h>
|
|
|
|
// Maximum length for a word
|
|
// (e.g., pneumonoultramicroscopicsilicovolcanoconiosis)
|
|
#define LENGTH 45
|
|
|
|
// Prototypes
|
|
bool load(const char *dictionary);
|
|
unsigned int size(void);
|
|
bool check(const char *word);
|
|
bool unload();
|
|
|
|
#endif // DICTIONARY_H
|