home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 1 / FFMCD01.bin / useful / include / search.h < prev    next >
C/C++ Source or Header  |  1993-09-05  |  320b  |  14 lines

  1. #ifndef _SEARCH_H
  2. #define _SEARCH_H
  3.  
  4. /* search.h -- declarations for POSIX/SVID-compatible search functions */
  5.  
  6. /* HSEARCH(3C) */
  7. typedef struct entry { char *key, *data; } ENTRY;
  8. typedef enum { FIND, ENTER } ACTION;
  9.  
  10. /* TSEARCH(3C) */
  11. typedef enum { preorder, postorder, endorder, leaf } VISIT;
  12.  
  13. #endif /* _SEARCH_H */
  14.