Neels Hofmeyr | 17518fe | 2017-06-20 04:35:06 +0200 | [diff] [blame] | 1 | /*! \file common.h */ |
Harald Welte | 781bd5d | 2011-12-06 22:23:52 +0100 | [diff] [blame] | 2 | |
| 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 | |
| 18 | typedef uint8_t u8; |
| 19 | typedef uint32_t u32; |
| 20 | |
| 21 | #define __must_check |