From: Richard Levitte 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_1.3.5-1~4^2~125 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ebfd22237e41a3144d45002f702b731235de9219;p=yubikey-personalization.old Declare the functions to set the Yubikey II flags --- 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,