git-svn-id: https://yubikey-personalization.googlecode.com/svn/trunk@109
b62f149e-849f-11dd-9899-
c7ba65f7c4c7
return 0;
}
+YK_CONFIG *ykp_core_config(YKP_CONFIG *cfg)
+{
+ if (cfg)
+ return &cfg->ykcore_config;
+ ykp_errno = YKP_ENOCFG;
+ return 0;
+}
+
int * const _ykp_errno_location(void)
{
static int tsd_init = 0;
void *userdata),
void *userdata);
+YK_CONFIG *ykp_core_config(YKP_CONFIG *cfg);
+
extern int * const _ykp_errno_location(void);
#define ykp_errno (*_ykp_errno_location())
const char *ykp_strerror(int errnum);