Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. struct ListNode
  2. {
  3.     struct ListNode *next;      //next node in list
  4.     struct ListNode *previous;  //previous node in list
  5.     char *data;                 //a pointer to allocated space containing a word
  6. };
  7.  
  8. struct List
  9. {
  10.     struct ListNode *head;      //start of list
  11.     struct ListNode *tail;      //end of list
  12. };
  13.  
  14.  
  15. void AddWord(struct List *l, char *w);
  16.  
  17. void PrintList(struct List *l);
  18.  
  19. void DeleteList(struct List *l);