aboutsummaryrefslogtreecommitdiff
path: root/NK_C_API.h
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2016-07-28 12:24:45 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2016-08-01 13:54:57 +0200
commit08fa8c559b42fb07bdadd62369802c348b896607 (patch)
tree7a94fe1810d7468ccc5b4d82ecbc549dd0b6c933 /NK_C_API.h
parentbdb25a0c1feb5709d718f408d6c839dbc9b55738 (diff)
downloadlibnitrokey-08fa8c559b42fb07bdadd62369802c348b896607.tar.gz
libnitrokey-08fa8c559b42fb07bdadd62369802c348b896607.tar.bz2
Choose device model during connection
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'NK_C_API.h')
-rw-r--r--NK_C_API.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/NK_C_API.h b/NK_C_API.h
index 458dd31..5520099 100644
--- a/NK_C_API.h
+++ b/NK_C_API.h
@@ -10,7 +10,7 @@ extern "C"
{
//Make sure each function's declaration is in one line (for automatic python declaration processing)
extern void NK_set_debug(bool state);
-extern int NK_login(const char *admin_pin, const char *temporary_password);
+extern int NK_login(const char *admin_pin, const char *temporary_password, const char *device_model);
extern int NK_logout();
extern const char * NK_status();
extern uint8_t NK_get_last_command_status();