From: Klas Lindfors Date: Tue, 27 Mar 2012 08:24:52 +0000 (+0200) Subject: declare yk_write_command X-Git-Tag: v1.7.0~1^2~58 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=241b90794818529440c7b0a01b2545c60fe9023a;p=yubikey-personalization declare yk_write_command --- diff --git a/ykcore/ykcore.h b/ykcore/ykcore.h index d45524e..3ba1894 100644 --- a/ykcore/ykcore.h +++ b/ykcore/ykcore.h @@ -109,6 +109,9 @@ extern int yk_read_response_from_key(YK_KEY *yk, uint8_t slot, unsigned int flag /* writes the given configuration to the key. If the configuration is NULL, zap the key configuration. acc_code has to be provided of the key has a protecting access code. */ +extern int yk_write_command(YK_KEY *k, YK_CONFIG *cfg, uint8_t command, + unsigned char *acc_code); +/* wrapper function of yk_write_command */ extern int yk_write_config(YK_KEY *k, YK_CONFIG *cfg, int confnum, unsigned char *acc_code); /* Write something to the YubiKey (a command that is). */