home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / bbs / jet_conf / import.h < prev    next >
C/C++ Source or Header  |  1993-04-12  |  3KB  |  70 lines

  1. /************************************************************************/
  2. /* module:          import.h                                            */
  3. /* author:          Jan Kriesten        date:        27.11.1992         */
  4. /*                                                                      */
  5. /* description:     header-file to import header-files;                 */
  6. /*                                                                      */
  7. /* last change:     27.11.1992                                          */
  8. /************************************************************************/
  9.  
  10. /* -------------------------------------------------------------------- */
  11. /*       environment.                                                   */
  12. /* -------------------------------------------------------------------- */
  13.  
  14. #ifndef __IMPORT_H__
  15. #define __IMPORT_H__
  16.  
  17. /* -------------------------------------------------------------------- */
  18. /*       includes.                                                      */
  19. /* -------------------------------------------------------------------- */
  20.  
  21. #include <stdio.h>
  22. #include <string.h>
  23. #include <stdlib.h>
  24. #include <g_portab.h>
  25. #include <aes.h>
  26. #include <vdi.h>
  27. #include <tos.h>
  28.  
  29. /* -------------------------------------------------------------------- */
  30. /*       constants.                                                     */
  31. /* -------------------------------------------------------------------- */
  32.  
  33. #ifdef GLOBAL
  34. #undef GLOBAL
  35. #endif
  36.  
  37. #define GLOBAL EXTERN
  38.  
  39. #define Mavail( ) (LONG)Malloc( -1L )
  40.  
  41. #ifndef max
  42. #define max( a, b ) ( ( (a) > (b) ) ? (a) : (b) ) /* Maximum-Funktion */
  43. #define min( a, b ) ( ( (a) < (b) ) ? (a) : (b) ) /* Minimum Funktion */
  44. #endif
  45.  
  46. #define odd( i )    ( (i) & 1 )                   /* ungerade */
  47.  
  48. #define AND         &&
  49. #define OR          ||
  50. #define XOR         ^^
  51. #define NOT         !
  52. #define DIV         /
  53. #define MOD         %
  54.  
  55. #define BITAND      &
  56. #define BITOR       |
  57. #define BITXOR      ^
  58. #define BITNOT      ~
  59.  
  60. /* -------------------------------------------------------------------- */
  61. /*       types.                                                         */
  62. /* -------------------------------------------------------------------- */
  63.  
  64. /* -------------------------------------------------------------------- */
  65. /*       end of header module.                                          */
  66. /* -------------------------------------------------------------------- */
  67.  
  68. #endif /* __IMPORT_H__ */
  69.  
  70.