blob: 7a69383cf27a609280ec8924952f3d75c989c6f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
/** @file
*
* Copyright (c) 2006 CACE Technologies, Davis (California)
* All rights reserved.
*
* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only)
*/
#ifndef _DOT11DECRYPT_INTEROP_H
#define _DOT11DECRYPT_INTEROP_H
/**
* Cast data types commonly used (e.g. UINT16) to their
* GLib equivalents.
*/
#include <glib.h>
#include <string.h>
#ifndef INT
typedef gint INT;
#endif
#ifndef UINT
typedef guint UINT;
#endif
#ifndef UINT8
typedef guint8 UINT8;
#endif
#ifndef UINT16
typedef guint16 UINT16;
#endif
#ifndef UINT32
typedef guint32 UINT32;
#endif
#ifndef UINT64
typedef guint64 UINT64;
#endif
#ifndef USHORT
typedef gushort USHORT;
#endif
#ifndef ULONG
typedef gulong ULONG;
#endif
#ifndef ULONGLONG
typedef guint64 ULONGLONG;
#endif
#ifndef CHAR
typedef gchar CHAR;
#endif
#ifndef UCHAR
typedef guchar UCHAR;
#endif
#endif /* _DOT11DECRYPT_INTEROP_H */
|