md5global.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /* GLOBAL.H - RSAREF types and constants
  2. */
  3. #ifndef MD5GLOBAL_H
  4. #define MD5GLOBAL_H
  5. /* PROTOTYPES should be set to one if and only if the compiler supports
  6. function argument prototyping.
  7. The following makes PROTOTYPES default to 0 if it has not already
  8. been defined with C compiler flags.
  9. */
  10. #ifndef PROTOTYPES
  11. #define PROTOTYPES 0
  12. #endif
  13. /* POINTER defines a generic pointer type */
  14. typedef unsigned char *POINTER;
  15. typedef signed char SASL_INT1; /* 8 bits */
  16. typedef short SASL_INT2; /* 16 bits */
  17. typedef int SASL_INT4; /* 32 bits */
  18. typedef long SASL_INT8; /* 64 bits */
  19. typedef unsigned char SASL_UINT1; /* 8 bits */
  20. typedef unsigned short SASL_UINT2; /* 16 bits */
  21. typedef unsigned int SASL_UINT4; /* 32 bits */
  22. typedef unsigned long SASL_UINT8; /* 64 bits */
  23. /* PROTO_LIST is defined depending on how PROTOTYPES is defined above.
  24. If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it
  25. returns an empty list.
  26. */
  27. #if PROTOTYPES
  28. #define PROTO_LIST(list) list
  29. #else
  30. #define PROTO_LIST(list) ()
  31. #endif
  32. #endif /* MD5GLOBAL_H */