diff options
author | lloyd <[email protected]> | 2009-12-27 01:38:02 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-12-27 01:38:02 +0000 |
commit | 93eda35a7680421844bab8942b310237fc09d99d (patch) | |
tree | a2d29732d5dfd225ad104af141691f1795a3ec0f /src/utils/debug.h | |
parent | 3278adc183efac99ae2779069ce1badae77982c1 (diff) |
Add debug.h which is an internal-only header with debug functions that
I tend to rewrite often in particular files while debugging things.
Diffstat (limited to 'src/utils/debug.h')
-rw-r--r-- | src/utils/debug.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/utils/debug.h b/src/utils/debug.h new file mode 100644 index 000000000..ee93d5ea0 --- /dev/null +++ b/src/utils/debug.h @@ -0,0 +1,29 @@ +/** +* Internal-use debugging functions for Botan +* (C) 2009 Jack Lloyd +* +* Distributed under the terms of the Botan license +*/ + +#ifndef BOTAN_DEBUG_H__ +#define BOTAN_DEBUG_H__ + +#include <botan/secmem.h> + +namespace Botan { + +namespace Debug { + +void print_vec(const std::string& name, + const byte array[], + size_t array_len); + +void print_vec(const std::string& name, + const MemoryRegion<byte>& vec); + + +} + +} + +#endif |