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 
21 #ifndef OD_H
22 #define OD_H
23 
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27 
28 #include <stddef.h>
29 #include <stdint.h>
30 
34 #define OD_WIDTH_DEFAULT (16)
35 
47 void od_hex_dump(const void *data, size_t data_len, uint8_t width);
48 
49 #ifdef __cplusplus
50 }
51 #endif
52 
53 #endif /* OD_H */
54 
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...