17#ifndef YUBIHSM_INTERNAL_H
18#define YUBIHSM_INTERNAL_H
53#define YH_INTERNAL __attribute__((visibility("hidden")))
void YH_INTERNAL dump_response(FILE *file, const Msg *msg)
bool YH_INTERNAL parse_usb_url(const char *url, unsigned long *serial)
void YH_INTERNAL parse_status_data(char *data, yh_connector *connector)
void YH_INTERNAL dump_hex(FILE *file, const uint8_t *ptr, uint16_t len)
void YH_INTERNAL dump_msg(FILE *file, const Msg *msg)
yh_rc(* backend_init)(uint8_t verbosity, FILE *output)
void(* backend_set_verbosity)(uint8_t verbosity, FILE *output)
void(* backend_disconnect)(yh_backend *connection)
yh_rc(* backend_send_msg)(yh_backend *connection, Msg *msg, Msg *response)
yh_rc(* backend_option)(yh_backend *connection, yh_connector_option opt, const void *val)
void(* backend_cleanup)(void)
yh_rc(* backend_connect)(yh_connector *connector, int timeout)
struct backend_functions * bf
uint8_t key_enc[SCP_KEY_LEN]
struct yh_connector * parent
uint8_t key_mac[SCP_KEY_LEN]