s/qmail
4.3.20
Next generation secure email transport
Loading...
Searching...
No Matches
4.3
sqmail-4.3.20
src
include
global.h
Go to the documentation of this file.
1
/* GLOBAL.H - RSAREF types and constants */
2
3
#include <string.h>
4
#include "uint_t.h"
5
6
/* Copyright (C) RSA Laboratories, a division of RSA Data Security,
7
Inc., created 1991. All rights reserved.
8
*/
9
10
#ifndef _GLOBAL_H_
11
#define _GLOBAL_H_ 1
12
13
/* PROTOTYPES should be set to one if and only if the compiler supports
14
function argument prototyping.
15
The following makes PROTOTYPES default to 1 if it has not already been
16
defined as 0 with C compiler flags.
17
*/
18
#ifndef PROTOTYPES
19
#define PROTOTYPES 1
20
#endif
21
22
/* POINTER defines a generic pointer type */
23
typedef
unsigned
char
*
POINTER
;
24
25
/* UINT2 defines a two byte word */
26
typedef
unsigned
short
int
UINT2
;
27
28
/* UINT4 defines a four byte word */
29
#ifdef UINT32_H
30
#define UINT4 uint32
31
#else
32
typedef
unsigned
long
int
UINT4
;
33
#endif
34
35
#ifndef NULL_PTR
36
#define NULL_PTR ((POINTER)0)
37
#endif
38
39
#ifndef UNUSED_ARG
40
#define UNUSED_ARG(x) x = *(&x);
41
#endif
42
43
/* PROTO_LIST is defined depending on how PROTOTYPES is defined above.
44
If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it
45
returns an empty list.
46
*/
47
#if PROTOTYPES
48
#define PROTO_LIST(list) list
49
#else
50
#define PROTO_LIST(list) ()
51
#endif
52
53
#endif
/* end _GLOBAL_H_ */
POINTER
unsigned char * POINTER
Definition:
global.h:23
UINT4
unsigned long int UINT4
Definition:
global.h:32
UINT2
unsigned short int UINT2
Definition:
global.h:26
Generated on Thu Jan 16 2025 17:42:04 for s/qmail by
1.9.6