home *** CD-ROM | disk | FTP | other *** search
/ Aminet 18 / aminetcdnumber181997.iso / Aminet / text / hyper / hsc_source.lha / hsc / source / ugly / ustrlist.h < prev    next >
Encoding:
C/C++ Source or Header  |  1997-01-04  |  705 b   |  41 lines

  1. /*
  2.  *
  3.  * ugly/ustrlist.h
  4.  *
  5.  * header file for string list functions
  6.  *
  7.  * (W) by Tommy-Saftwörx in 1996
  8.  *
  9.  */
  10.  
  11. #ifndef UGLY_USTRLIST_H
  12. #define UGLY_USTRLIST_H
  13.  
  14. #include "utypes.h"
  15. #include "ustring.h"
  16. #include "dllist.h"
  17.  
  18. /*
  19.  * external function prototypes
  20.  */
  21.  
  22.  
  23. #ifndef NOEXTERN_UGLY_USTRLIST_H
  24.  
  25. #define find_strnode(nd,str) find_dlnode((nd),(APTR)(str), cmp_string_node)
  26.  
  27. extern VOID del_string_node(APTR data);
  28. extern STRPTR new_string_node(STRPTR data);
  29. extern int cmp_string_node(APTR cmp_data, APTR lst_data);
  30.  
  31. extern VOID clr_strlist(DLLIST *list);
  32. extern VOID del_strlist(DLLIST *list);
  33. extern DLLIST *init_strlist(VOID);
  34.  
  35. extern DLNODE *app_strnode(DLLIST * list, STRPTR str);
  36.  
  37. #endif
  38.  
  39. #endif
  40.  
  41.