od.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2014 Martine Lenders <mlenders@inf.fu-berlin.de>
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
20 #ifndef OD_H
21 #define OD_H
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
27 #include <stddef.h>
28 #include <stdint.h>
29 
33 #define OD_WIDTH_DEFAULT (16)
34 
44 void od_hex_dump(const void *data, size_t data_len, uint8_t width);
45 
46 #ifdef __cplusplus
47 }
48 #endif
49 
50 #endif /* OD_H */
51 
void od_hex_dump(const void *data, size_t data_len, uint8_t width)
Dumps memory stored at data byte-wise up to data_len in hexadecimal representation to stdout with...