Wireshark 4.7.3
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
hpa101saptype.h
1/* @(#) saptype.h 20.24 SAP 98/02/12
2
3
4 ========== licence begin GPL
5 Copyright (c) 2000-2005 SAP AG
6
7 This program is free software; you can redistribute it and/or
8 modify it under the terms of the GNU General Public License
9 as published by the Free Software Foundation; either version 2
10 of the License, or (at your option) any later version.
11
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with this program; If not, see <https://www.gnu.org/licenses/>.
19 ========== licence end
20
21
22
23
24*/
25typedef char SAP_CHAR;
26typedef unsigned char SAP_BYTE; /* Value range: 0 .. UCHAR_MAX */
27typedef short SAP_SHORT; /* Value range: SHRT_MIN .. SHRT_MAX */
28typedef unsigned short SAP_USHORT; /* Value range: */
29typedef int SAP_INT; /* Value range: */
30typedef unsigned int SAP_UINT; /* Value range: */
31
32
33/**********************************************************************/
34/* Min/max macros */
35/* To prevent compiler warnings the macros MAX and MIN now have the */
36/* same wording as those in /usr/include/sys/param.h. */
37/**********************************************************************/
38#ifndef MIN
39 #define MIN(a,b) (((a)<(b))?(a):(b))
40#endif
41
42#ifndef MAX
43 #define MAX(a,b) (((a)>(b))?(a):(b))
44#endif
45
46#define SAPonNT
47
48#define USE(param) ((param)=(param))