home *** CD-ROM | disk | FTP | other *** search
/ Internet Publisher's Toolbox 2.0 / Internet Publisher's Toolbox.iso / internet / ntserver / wtsource / synonym.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-02-25  |  516 b   |  24 lines

  1.  
  2. /* Copyright (c) CNIDR (see ../COPYRIGHT) */
  3.  
  4. #ifndef __SYNONYM_H
  5. #  define _SYNONYM_H
  6. #include "cdialect.h"
  7. struct s_Synonym {
  8.   char *root;
  9.   char *key;
  10. };
  11.  
  12. typedef struct s_Synonym t_Synonym;
  13.  
  14. #define synptr( elem ) syn_Table[*syn_Table_Size-1].elem
  15. #define SYN_FILE_LINE_LENGTH 256
  16.  
  17. /* prototypes */
  18.  
  19. int syn_compare _AP((void*,void* ));
  20. char* lookup_Synonym _AP(( char*,t_Synonym*,int ));
  21. void syn_ReadFile _AP(( char*,t_Synonym**,int* ));
  22. void syn_Free _AP(( t_Synonym*,int* ));
  23. #endif
  24.