1/* 2 * For license terms, see the file COPYING in this directory. 3 * 4 * md5global.h Global declarations for MD5 module used by fetchmail 5 * 6 */ 7 8#ifndef MD5GLOBAL_H__ 9#define MD5GLOBAL_H__ 10/* GLOBAL.H - RSAREF types and constants 11 */ 12 13/* force prototypes on, we need ANSI C anyway */ 14#ifndef PROTOTYPES 15#define PROTOTYPES 1 16#endif 17 18/* POINTER defines a generic pointer type */ 19typedef unsigned char *POINTER; 20 21/* UINT2 defines a two byte word */ 22typedef unsigned short int UINT2; 23 24/* UINT4 defines a four byte word */ 25#if SIZEOF_INT == 4 26typedef unsigned int UINT4; 27#else 28typedef unsigned long int UINT4; 29#endif 30 31/* PROTO_LIST is defined depending on how PROTOTYPES is defined above. 32If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it 33 returns an empty list. 34 */ 35#if PROTOTYPES 36#define PROTO_LIST(list) list 37#else 38#define PROTO_LIST(list) () 39#endif 40 41#endif /* MD5GLOBAL_H__ */ 42