blob: 2aa50fb3ed4abe4e1868587985a375b43ba2e6d0 [file] [log] [blame]
Neels Hofmeyr17518fe2017-06-20 04:35:06 +02001/*! \file common.h */
Harald Welte781bd5d2011-12-06 22:23:52 +01002
3#include <stdint.h>
4#include <stdlib.h>
5#include <string.h>
6
7#define MSG_DEBUG
8#define wpa_hexdump(x, args...)
9#define wpa_hexdump_key(x, args...)
10#define wpa_printf(x, args...)
11
12#define os_memcpy(x, y, z) memcpy(x, y, z)
13#define os_memcmp(x, y, z) memcmp(x, y, z)
14#define os_memset(x, y, z) memset(x, y, z)
15#define os_malloc(x) malloc(x)
16#define os_free(x) free(x)
17
18typedef uint8_t u8;
19typedef uint32_t u32;
20
21#define __must_check