Merge pull request #2687 from noproto/master
[RRG-proxmark3.git] / armsrc / dbprint.h
blobbf68dc63fcd91e6884b2263a1b86250d8eee072e
1 //-----------------------------------------------------------------------------
2 // Copyright (C) Jonathan Westhues, Aug 2005
3 // Copyright (C) Gerhard de Koning Gans, April 2008
4 // Copyright (C) Proxmark3 contributors. See AUTHORS.md for details.
5 //
6 // This program is free software: you can redistribute it and/or modify
7 // it under the terms of the GNU General Public License as published by
8 // the Free Software Foundation, either version 3 of the License, or
9 // (at your option) any later version.
11 // This program is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
16 // See LICENSE.txt for the text of the license.
17 //-----------------------------------------------------------------------------
19 #ifndef __DBPRINT_H
20 #define __DBPRINT_H
22 #include "common.h"
23 #include "ansi.h"
25 void DbpString(const char *str);
26 void DbpStringEx(uint32_t flags, const char *src, size_t srclen);
27 void Dbprintf(const char *fmt, ...);
28 void DbprintfEx(uint32_t flags, const char *fmt, ...);
29 void Dbhexdump(int len, const uint8_t *d, bool bAsci);
30 void print_result(const char *name, const uint8_t *d, size_t n);
31 void print_dbg(const char *msg, const uint8_t *d, uint16_t n);
32 //void PrintToSendBuffer(void);
34 #endif