summaryrefslogtreecommitdiffstats
path: root/src/shared/libosmocore/src/gsm/milenage/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/libosmocore/src/gsm/milenage/common.h')
-rw-r--r--src/shared/libosmocore/src/gsm/milenage/common.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/shared/libosmocore/src/gsm/milenage/common.h b/src/shared/libosmocore/src/gsm/milenage/common.h
new file mode 100644
index 00000000..aaf82b97
--- /dev/null
+++ b/src/shared/libosmocore/src/gsm/milenage/common.h
@@ -0,0 +1,20 @@
+
+#include <stdint.h>
+#include <stdlib.h>
+#include <string.h>
+
+#define MSG_DEBUG
+#define wpa_hexdump(x, args...)
+#define wpa_hexdump_key(x, args...)
+#define wpa_printf(x, args...)
+
+#define os_memcpy(x, y, z) memcpy(x, y, z)
+#define os_memcmp(x, y, z) memcmp(x, y, z)
+#define os_memset(x, y, z) memset(x, y, z)
+#define os_malloc(x) malloc(x)
+#define os_free(x) free(x)
+
+typedef uint8_t u8;
+typedef uint32_t u32;
+
+#define __must_check