From 93eda35a7680421844bab8942b310237fc09d99d Mon Sep 17 00:00:00 2001 From: lloyd Date: Sun, 27 Dec 2009 01:38:02 +0000 Subject: Add debug.h which is an internal-only header with debug functions that I tend to rewrite often in particular files while debugging things. --- src/utils/debug.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/utils/debug.h (limited to 'src/utils/debug.h') 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 + +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& vec); + + +} + +} + +#endif -- cgit v1.2.3