home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / MISC / SQDEV200.ZIP / SAMPLES / KILLRCAT.H < prev    next >
C/C++ Source or Header  |  1994-05-23  |  738b  |  34 lines

  1. #define VERSION "1.1"
  2.  
  3. #define FALSE 0
  4. #define PATHLEN 120
  5.  
  6. #define WHERE_TO    0x01
  7. #define WHERE_FROM  0x02
  8. #define WHERE_SUBJ  0x04
  9. #define WHERE_BODY  0x08
  10.  
  11. struct _srch
  12. {
  13.   byte where;
  14.   char *text;
  15.   struct _srch *next;
  16. };
  17.  
  18. struct _ka
  19. {
  20.   char *path;
  21.   struct _srch *search;
  22.   struct _ka *next;
  23. };
  24.  
  25. static char * near ssstrdup(char *s);
  26. static void * near ssmalloc(size_t size);
  27. static word near KillrCatInit(void);
  28. static void near KillrCatTerminate(void);
  29. static word KillrCatConfig(char *name, struct _ka **ka);
  30. static void near KillrCatPounce(struct _ka *k);
  31. static void near KillrCatStalkPrey(struct _ka *k, HAREA harea);
  32. static char * near KillrCatFight(struct _ka *k, XMSG *msg, char *txt);
  33.  
  34.