vfs: check userland buffers before reading them.
[haiku.git] / src / add-ons / mail_daemon / outbound_protocols / smtp / md5global.h
blob14f6e44b394b1c00049fba3d40f79e8d9dcc537c
1 /*
2 * For license terms, see the file COPYING in this directory.
4 * md5global.h Global declarations for MD5 module used by fetchmail
6 */
8 #ifndef MD5GLOBAL_H__
9 #define MD5GLOBAL_H__
10 /* GLOBAL.H - RSAREF types and constants
13 /* force prototypes on, we need ANSI C anyway */
14 #ifndef PROTOTYPES
15 #define PROTOTYPES 1
16 #endif
18 /* POINTER defines a generic pointer type */
19 typedef unsigned char *POINTER;
21 /* UINT2 defines a two byte word */
22 typedef unsigned short int UINT2;
24 /* UINT4 defines a four byte word */
25 #if SIZEOF_INT == 4
26 typedef unsigned int UINT4;
27 #else
28 typedef unsigned long int UINT4;
29 #endif
31 /* PROTO_LIST is defined depending on how PROTOTYPES is defined above.
32 If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it
33 returns an empty list.
35 #if PROTOTYPES
36 #define PROTO_LIST(list) list
37 #else
38 #define PROTO_LIST(list) ()
39 #endif
41 #endif /* MD5GLOBAL_H__ */