Advertisement
Guest User

Untitled

a guest
Nov 18th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. /*
  2. * Table.h
  3. *
  4. * Created on: Nov 18, 2017
  5. * Author: Beni
  6. */
  7.  
  8. //------------------------------------------------------------------------------
  9. // INCLUDE GUARD
  10. //------------------------------------------------------------------------------
  11. #ifndef TABLE_H_
  12. #define TABLE_H_
  13.  
  14. //------------------------------------------------------------------------------
  15. // INCLUDE HEADERS
  16. //------------------------------------------------------------------------------
  17.  
  18.  
  19. //------------------------------------------------------------------------------
  20. // CONSTANTS AND TYPES
  21. //------------------------------------------------------------------------------
  22. typedef enum BOOL { false, true } Boolean;
  23. typedef struct TABLE Table;
  24.  
  25.  
  26. //------------------------------------------------------------------------------
  27. // PROTOTYPES
  28. //------------------------------------------------------------------------------
  29. Boolean insert(char *new_string, Table *table);
  30. void delete(Table *table);
  31. Boolean search(char *target, Table *table);
  32. char * firstItem(Table *table);
  33. char * nextItem(Table *table);
  34. void clearTable(Table *table);
  35. void validateTable(Table *table);
  36. Table * createTable();
  37. void destroyTable(Table *table);
  38. void loadFile();
  39. void printConcordance();
  40.  
  41.  
  42.  
  43.  
  44. //------------------------------------------------------------------------------
  45. // END OF HEADER FILE
  46. //------------------------------------------------------------------------------
  47. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement