diff options
author | lloyd <[email protected]> | 2008-09-29 00:31:14 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-09-29 00:31:14 +0000 |
commit | 7f60f26ba5f6193d9fd153ac4d48065a53990afc (patch) | |
tree | 304417faea171fac0c869b333e9eca16b93c3c81 /src/utils | |
parent | 23f973f19da56c795756f9b80e273a2112e5e794 (diff) |
Move mlock to utils, as decled in util.h
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/mlock.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/utils/mlock.cpp b/src/utils/mlock.cpp new file mode 100644 index 000000000..e4456658d --- /dev/null +++ b/src/utils/mlock.cpp @@ -0,0 +1,24 @@ +/************************************************* +* Memory Locking Functions Source File * +* (C) 1999-2007 Jack Lloyd * +*************************************************/ + +#include <botan/util.h> + +namespace Botan { + +/************************************************* +* Lock an area of memory into RAM * +*************************************************/ +void lock_mem(void*, u32bit) + { + } + +/************************************************* +* Unlock a previously locked region of memory * +*************************************************/ +void unlock_mem(void*, u32bit) + { + } + +} |