aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/utils/database.h
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-12-11 15:28:38 -0500
committerJack Lloyd <[email protected]>2016-12-18 16:48:24 -0500
commitf3cb3edb512bdcab498d825886c3366c341b3f78 (patch)
tree645c73ec295a5a34f25d99903b6d9fa9751e86d3 /src/lib/utils/database.h
parentc1dd21253c1f3188ff45d3ad47698efd08235ae8 (diff)
Convert to using standard uintN_t integer types
Renames a couple of functions for somewhat better name consistency, eg make_u32bit becomes make_uint32. The old typedefs remain for now since probably lots of application code uses them.
Diffstat (limited to 'src/lib/utils/database.h')
-rw-r--r--src/lib/utils/database.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/utils/database.h b/src/lib/utils/database.h
index 0cd45dac0..6a1fa6b02 100644
--- a/src/lib/utils/database.h
+++ b/src/lib/utils/database.h
@@ -36,12 +36,12 @@ class BOTAN_DLL SQL_Database
virtual void bind(int column, std::chrono::system_clock::time_point time) = 0;
- virtual void bind(int column, const std::vector<byte>& blob) = 0;
+ virtual void bind(int column, const std::vector<uint8_t>& blob) = 0;
- virtual void bind(int column, const byte* data, size_t len) = 0;
+ virtual void bind(int column, const uint8_t* data, size_t len) = 0;
/* Get output */
- virtual std::pair<const byte*, size_t> get_blob(int column) = 0;
+ virtual std::pair<const uint8_t*, size_t> get_blob(int column) = 0;
virtual size_t get_size_t(int column) = 0;