]>
Commit | Line | Data |
---|---|---|
a2bb2735 | 1 | /* |
2 | * libopenemv - a library to work with EMV family of smart cards | |
3 | * Copyright (C) 2015 Dmitry Eremin-Solenikov | |
4 | * | |
5 | * This library is free software; you can redistribute it and/or | |
6 | * modify it under the terms of the GNU Lesser General Public | |
7 | * License as published by the Free Software Foundation; either | |
8 | * version 2.1 of the License, or (at your option) any later version. | |
9 | * | |
10 | * This library is distributed in the hope that it will be useful, | |
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
13 | * Lesser General Public License for more details. | |
14 | */ | |
15 | ||
16 | #ifndef DUMP_H | |
17 | #define DUMP_H | |
18 | ||
19 | #include <stdio.h> | |
33a9982c | 20 | #include <stdbool.h> |
a2bb2735 | 21 | |
22 | void dump_buffer_simple(const unsigned char *ptr, size_t len, FILE *f); | |
43912d63 | 23 | void dump_buffer(const unsigned char *ptr, size_t len, FILE *f, int level); |
3c5fce2b | 24 | void dump_buffer_tab(const unsigned char *ptr, size_t len, FILE *f, int tabs); |
a2bb2735 | 25 | |
26 | #endif |