Wireshark
4.7.3
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
wsutil
saplzclzh
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
*/
25
typedef
char
SAP_CHAR;
26
typedef
unsigned
char
SAP_BYTE;
/* Value range: 0 .. UCHAR_MAX */
27
typedef
short
SAP_SHORT;
/* Value range: SHRT_MIN .. SHRT_MAX */
28
typedef
unsigned
short
SAP_USHORT;
/* Value range: */
29
typedef
int
SAP_INT;
/* Value range: */
30
typedef
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))
Generated by
1.15.0