home *** CD-ROM | disk | FTP | other *** search
/ Dream 52 / Amiga_Dream_52.iso / Linux / Divers / ImageMagick-4.0.6.tar.gz / ImageMagick-4.0.6.tar / ImageMagick-4.0.6 / xtp / xtp.h < prev   
C/C++ Source or Header  |  1998-04-05  |  1KB  |  67 lines

  1. /*
  2.   Include declarations
  3. */
  4.  
  5. #if defined(__hpux)
  6. #define _HPUX_SOURCE  1
  7. #endif
  8. #include <stdio.h>
  9. #if defined(SOCKS)
  10. #include <socks.h>
  11. #endif
  12. #include <stdlib.h>
  13. #include <unistd.h>
  14. #include <assert.h>
  15. #include <ctype.h>
  16. #include <string.h>
  17. #include <math.h>
  18. #include <signal.h>
  19. #include <time.h>
  20. #if !defined(macintosh)
  21. #include <sys/types.h>
  22. #include <sys/stat.h>
  23. #else
  24. #include <SIOUX.h>
  25. #include <console.h>
  26. #include <unix.h>
  27. #include <types.h>
  28. #include <stat.h>
  29. #endif
  30. #include <pwd.h>
  31.  
  32. /*
  33.   Define declarations for the xtp program.
  34. */
  35. #if defined(__cplusplus) || defined(c_plusplus)
  36. #define class  c_class
  37. #endif
  38. #define False  0
  39. #define IsGlob(text) \
  40.   ((strchr(text,'*') != (char *) NULL) || \
  41.    (strchr(text,'?') != (char *) NULL) || \
  42.    (strchr(text,'{') != (char *) NULL) || \
  43.    (strchr(text,'}') != (char *) NULL))
  44. #define Max(x,y)  (((x) > (y)) ? (x) : (y))
  45. #define MaxTextLength  2048
  46. #define True  1
  47. #define Warning(message,qualifier)  \
  48. {  \
  49.   (void) fprintf(stderr,"%s: %s",client_name,message);  \
  50.   if (qualifier != (char *) NULL)  \
  51.     (void) fprintf(stderr," (%s)",qualifier);  \
  52.   (void) fprintf(stderr,".\n");  \
  53. }
  54. #if !defined(XTP_FTP)
  55. # if defined(SOCKS)
  56. #  define XTP_FTP "rftp"
  57. # else
  58. #  define XTP_FTP "ftp"
  59. # endif /* defined(SOCKS) */
  60. #endif /* !defined(XTP_FTP) */
  61.  
  62.  
  63. #ifndef lint
  64. static char
  65.   Version[]="@(#)ImageMagick 3.9.2 97/11/15 cristy@sympatico.org";
  66. #endif
  67.