diff options
author | lloyd <[email protected]> | 2010-06-21 14:42:27 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-06-21 14:42:27 +0000 |
commit | fe47c1cb19d6f3d1fb54f488cf08eb1830dda1e5 (patch) | |
tree | 415c0b54dbc39836621f62969cdaf124381c6f44 | |
parent | 681332a23c5547b5958eb60e2f2acc7f2ed5df9e (diff) |
Doxygen
-rw-r--r-- | src/utils/types.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/utils/types.h b/src/utils/types.h index a26e83834..58fdb5ff8 100644 --- a/src/utils/types.h +++ b/src/utils/types.h @@ -15,12 +15,29 @@ */ namespace Botan { +/** +* Typedef representing an unsigned 8-bit quantity +*/ typedef unsigned char byte; + +/** +* Typedef representing an unsigned 16-bit quantity +*/ typedef unsigned short u16bit; + +/** +* Typedef representing an unsigned 32-bit quantity +*/ typedef unsigned int u32bit; +/** +* Typedef representing a signed 32-bit quantity +*/ typedef signed int s32bit; +/** +* Typedef representing an unsigned 64-bit quantity +*/ #if defined(_MSC_VER) || defined(__BORLANDC__) typedef unsigned __int64 u64bit; #elif defined(__KCC) @@ -31,6 +48,9 @@ typedef signed int s32bit; typedef unsigned long long u64bit; #endif +/** +* A default buffer size; typically a memory page +*/ static const u32bit DEFAULT_BUFFERSIZE = BOTAN_DEFAULT_BUFFER_SIZE; } |