Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Table.h
- *
- * Created on: Nov 18, 2017
- * Author: Beni
- */
- //------------------------------------------------------------------------------
- // INCLUDE GUARD
- //------------------------------------------------------------------------------
- #ifndef TABLE_H_
- #define TABLE_H_
- //------------------------------------------------------------------------------
- // INCLUDE HEADERS
- //------------------------------------------------------------------------------
- //------------------------------------------------------------------------------
- // CONSTANTS AND TYPES
- //------------------------------------------------------------------------------
- typedef enum BOOL { false, true } Boolean;
- typedef struct TABLE Table;
- //------------------------------------------------------------------------------
- // PROTOTYPES
- //------------------------------------------------------------------------------
- Boolean insert(char *new_string, Table *table);
- void delete(Table *table);
- Boolean search(char *target, Table *table);
- char * firstItem(Table *table);
- char * nextItem(Table *table);
- void clearTable(Table *table);
- void validateTable(Table *table);
- Table * createTable();
- void destroyTable(Table *table);
- void loadFile();
- void printConcordance();
- //------------------------------------------------------------------------------
- // END OF HEADER FILE
- //------------------------------------------------------------------------------
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement