From 241b90794818529440c7b0a01b2545c60fe9023a Mon Sep 17 00:00:00 2001 From: Klas Lindfors Date: Tue, 27 Mar 2012 10:24:52 +0200 Subject: [PATCH] declare yk_write_command --- ykcore/ykcore.h | 3 +++ 1 file changed, 3 insertions(+) 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). */ -- 2.39.5