From: Klas Lindfors Date: Fri, 30 Nov 2012 19:57:10 +0000 (+0100) Subject: definitions for device_config X-Git-Tag: v1.10.0~20^2~6 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3d3afe659e35b81346a7e7b559dbe6ec21ca9a6;p=yubikey-personalization definitions for device_config --- diff --git a/ykcore/ykcore.h b/ykcore/ykcore.h index ca70e6f..f7acaf0 100644 --- a/ykcore/ykcore.h +++ b/ykcore/ykcore.h @@ -63,6 +63,7 @@ typedef struct yk_nav_st YK_NAV; /* Navigation structure. Other libraries provide access. */ typedef struct yk_frame_st YK_FRAME; /* Data frame for write operation */ typedef struct ndef_st YK_NDEF; +typedef struct yk_device_config_st YK_DEVICE_CONFIG; /************************************************************************* * diff --git a/ykcore/ykcore_lcl.h b/ykcore/ykcore_lcl.h index 131fbc4..7874735 100644 --- a/ykcore/ykcore_lcl.h +++ b/ykcore/ykcore_lcl.h @@ -39,6 +39,7 @@ #define yk_config_st config_st #define yk_nav_st nav_st #define yk_frame_st frame_st +#define yk_device_config_st device_config_st #include "ykcore.h" #include "ykdef.h" diff --git a/ykcore/ykdef.h b/ykcore/ykdef.h index e210228..552ea7f 100644 --- a/ykcore/ykdef.h +++ b/ykcore/ykdef.h @@ -215,7 +215,7 @@ struct nav_st { /* Device configuration block (version 3.0) */ -struct device_st { +struct device_config_st { unsigned char mode; /* Device mode */ unsigned char crTimeout; /* Challenge-response timeout in seconds */ unsigned short autoEject; /* Auto eject time in x10 seconds */