masqmail-0.2
annotate src/md5/global.h @ 84:ffeff2c33799
is_ingroup(): check for the primary group of a user too
also some refactoring
author | meillo@marmaro.de |
---|---|
date | Sat, 19 Jun 2010 18:08:55 +0200 |
parents | |
children |
rev | line source |
---|---|
meillo@0 | 1 /* GLOBAL.H - RSAREF types and constants |
meillo@0 | 2 */ |
meillo@0 | 3 |
meillo@0 | 4 /* PROTOTYPES should be set to one if and only if the compiler supports |
meillo@0 | 5 function argument prototyping. |
meillo@0 | 6 The following makes PROTOTYPES default to 0 if it has not already |
meillo@0 | 7 been defined with C compiler flags. |
meillo@0 | 8 */ |
meillo@0 | 9 #ifndef PROTOTYPES |
meillo@0 | 10 #define PROTOTYPES 0 |
meillo@0 | 11 #endif |
meillo@0 | 12 |
meillo@0 | 13 /* POINTER defines a generic pointer type */ |
meillo@0 | 14 typedef unsigned char *POINTER; |
meillo@0 | 15 |
meillo@0 | 16 /* UINT2 defines a two byte word */ |
meillo@0 | 17 typedef unsigned short int UINT2; |
meillo@0 | 18 |
meillo@0 | 19 /* UINT4 defines a four byte word */ |
meillo@0 | 20 typedef unsigned long int UINT4; |
meillo@0 | 21 |
meillo@0 | 22 /* PROTO_LIST is defined depending on how PROTOTYPES is defined above. |
meillo@0 | 23 If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it |
meillo@0 | 24 returns an empty list. |
meillo@0 | 25 */ |
meillo@0 | 26 #if PROTOTYPES |
meillo@0 | 27 #define PROTO_LIST(list) list |
meillo@0 | 28 #else |
meillo@0 | 29 #define PROTO_LIST(list) () |
meillo@0 | 30 #endif |