home *** CD-ROM | disk | FTP | other *** search
/ ftp.muug.mb.ca / 2014.06.ftp.muug.mb.ca.tar / ftp.muug.mb.ca / pub / src / gopher / gopher1.01 / mindexd / mindexd.h < prev    next >
C/C++ Source or Header  |  1992-04-08  |  696b  |  46 lines

  1. #include "conf.h"
  2.  
  3. #include <stdio.h>
  4. #include <sys/types.h>
  5. #include <sys/socket.h>
  6. #include <netinet/in.h>
  7. #include <arpa/inet.h>
  8. #include <pwd.h>
  9. #include <errno.h>
  10. #include <string.h>
  11. #include <strings.h>
  12. #include <sys/stat.h>
  13. #include <ctype.h>
  14. #include <netdb.h>
  15.  
  16. #ifndef BROKENDIRS
  17. #  include <dirent.h>
  18. #else
  19. #  include <sys/dir.h>
  20. #endif
  21.  
  22. typedef int boolean;
  23. #define TRUE 1
  24. #define FALSE 0
  25.  
  26.  
  27. #define MAXSTR 128
  28.  
  29. #define A_FILE      '0'
  30. #define A_DIRECTORY '1'
  31. #define A_CSO       '2'
  32. #define A_ERROR     '3'
  33. #define A_BINHEX    '4'
  34. #define A_TELNET    '5'
  35. #define A_TECHMAIL  '6'
  36. #define A_INDEX     '7'
  37. #define A_EOI        '.'
  38.  
  39. #define MAXSLAVES  5
  40.  
  41.  
  42.  
  43. #include "globals.h"
  44.  
  45. char *pname;
  46.