From: levitte@gmail.com Date: Tue, 30 Jun 2009 10:30:21 +0000 (+0000) Subject: Declare the functions to set the Yubikey II flags X-Git-Tag: yubikey-personalisation_0.97-1~60 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91492432b3f15222093e05ed9a875d02891cc182;p=yubikey-personalization.old Declare the functions to set the Yubikey II flags git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@112 b62f149e-849f-11dd-9899-c7ba65f7c4c7 --- diff --git a/ykpers.h b/ykpers.h index 9c676dd..3d3560b 100644 --- a/ykpers.h +++ b/ykpers.h @@ -60,6 +60,7 @@ int ykp_set_tktflag_APPEND_TAB2(YKP_CONFIG *cfg, bool state); int ykp_set_tktflag_APPEND_DELAY1(YKP_CONFIG *cfg, bool state); int ykp_set_tktflag_APPEND_DELAY2(YKP_CONFIG *cfg, bool state); int ykp_set_tktflag_APPEND_CR(YKP_CONFIG *cfg, bool state); +int ykp_set_tktflag_PROTECT_CFG2(YKP_CONFIG *cfg, bool state); int ykp_set_cfgflag_SEND_REF(YKP_CONFIG *cfg, bool state); int ykp_set_cfgflag_TICKET_FIRST(YKP_CONFIG *cfg, bool state); @@ -67,6 +68,10 @@ int ykp_set_cfgflag_PACING_10MS(YKP_CONFIG *cfg, bool state); int ykp_set_cfgflag_PACING_20MS(YKP_CONFIG *cfg, bool state); int ykp_set_cfgflag_ALLOW_HIDTRIG(YKP_CONFIG *cfg, bool state); int ykp_set_cfgflag_STATIC_TICKET(YKP_CONFIG *cfg, bool state); +int ykp_set_cfgflag_SHORT_TICKET(YKP_CONFIG *cfg, bool state); +int ykp_set_cfgflag_STRONG_PW1(YKP_CONFIG *cfg, bool state); +int ykp_set_cfgflag_STRONG_PW2(YKP_CONFIG *cfg, bool state); +int ykp_set_cfgflag_MAN_UPDATE(YKP_CONFIG *cfg, bool state); int ykp_write_config(const YKP_CONFIG *cfg, int (*writer)(const char *buf, size_t count,