aboutsummaryrefslogtreecommitdiff
path: root/include/NKPro_commands_0.8.h
diff options
context:
space:
mode:
authorElie Tournier <tournier.elie@gmail.com>2017-04-18 13:32:27 +0100
committerSzczepan Zalega <szczepan@nitrokey.com>2017-05-25 15:14:09 +0200
commit2428f3ad0a5542a996c16ef80fd7bbd2be5bb5c6 (patch)
tree2adb0370cf498acf12770d1e48439aee7055e9b1 /include/NKPro_commands_0.8.h
parent05ae75697be8df1b2179035d3ef8dc6b2e7fe30f (diff)
downloadlibnitrokey-2428f3ad0a5542a996c16ef80fd7bbd2be5bb5c6.tar.gz
libnitrokey-2428f3ad0a5542a996c16ef80fd7bbd2be5bb5c6.tar.bz2
Rename functions: s/stick10/NKPro and s/stick20/NKStorage
Signed-off-by: Elie Tournier <tournier.elie@gmail.com>
Diffstat (limited to 'include/NKPro_commands_0.8.h')
-rw-r--r--include/NKPro_commands_0.8.h52
1 files changed, 26 insertions, 26 deletions
diff --git a/include/NKPro_commands_0.8.h b/include/NKPro_commands_0.8.h
index 76bb030..2482dec 100644
--- a/include/NKPro_commands_0.8.h
+++ b/include/NKPro_commands_0.8.h
@@ -23,32 +23,32 @@ namespace nitrokey {
/*
* Stick10 protocol definition
*/
- namespace stick10_08 {
- using stick10::FirstAuthenticate;
- using stick10::UserAuthenticate;
- using stick10::SetTime;
- using stick10::GetStatus;
- using stick10::BuildAESKey;
- using stick10::ChangeAdminPin;
- using stick10::ChangeUserPin;
- using stick10::EnablePasswordSafe;
- using stick10::ErasePasswordSafeSlot;
- using stick10::FactoryReset;
- using stick10::GetPasswordRetryCount;
- using stick10::GetUserPasswordRetryCount;
- using stick10::GetPasswordSafeSlotLogin;
- using stick10::GetPasswordSafeSlotName;
- using stick10::GetPasswordSafeSlotPassword;
- using stick10::GetPasswordSafeSlotStatus;
- using stick10::GetSlotName;
- using stick10::IsAESSupported;
- using stick10::LockDevice;
- using stick10::PasswordSafeInitKey;
- using stick10::PasswordSafeSendSlotViaHID;
- using stick10::SetPasswordSafeSlotData;
- using stick10::SetPasswordSafeSlotData2;
- using stick10::UnlockUserPassword;
- using stick10::ReadSlot;
+ namespace NKPro_08 {
+ using NKPro::FirstAuthenticate;
+ using NKPro::UserAuthenticate;
+ using NKPro::SetTime;
+ using NKPro::GetStatus;
+ using NKPro::BuildAESKey;
+ using NKPro::ChangeAdminPin;
+ using NKPro::ChangeUserPin;
+ using NKPro::EnablePasswordSafe;
+ using NKPro::ErasePasswordSafeSlot;
+ using NKPro::FactoryReset;
+ using NKPro::GetPasswordRetryCount;
+ using NKPro::GetUserPasswordRetryCount;
+ using NKPro::GetPasswordSafeSlotLogin;
+ using NKPro::GetPasswordSafeSlotName;
+ using NKPro::GetPasswordSafeSlotPassword;
+ using NKPro::GetPasswordSafeSlotStatus;
+ using NKPro::GetSlotName;
+ using NKPro::IsAESSupported;
+ using NKPro::LockDevice;
+ using NKPro::PasswordSafeInitKey;
+ using NKPro::PasswordSafeSendSlotViaHID;
+ using NKPro::SetPasswordSafeSlotData;
+ using NKPro::SetPasswordSafeSlotData2;
+ using NKPro::UnlockUserPassword;
+ using NKPro::ReadSlot;
class EraseSlot : Command<CommandID::ERASE_SLOT> {
public: