#ifndef LBOOT_USB_H
#define LBOOT_USB_H

#include "lboot.h"

#define LBOOT_OPT_USB_APP_BOOT_REQ      0x12200
#define LBOOT_OPT_USB_APP_LCOMP_ID      0x12201
#define LBOOT_OPT_USB_APP_DEV_ID        0x12202
#define LBOOT_OPT_USB_APP_LCOMP_DEVNAME 0x12203

/** опции для задания параметров соединения по пртротоколу tftp */
#define LBOOT_USB_OPTIONS  {"usb-app-boot-req",   required_argument,   0, LBOOT_OPT_USB_APP_BOOT_REQ}, \
                           {"usb-app-lcomp-id",  required_argument,   0, LBOOT_OPT_USB_APP_LCOMP_ID}, \
                           {"usb-app-dev-id",    required_argument,   0, LBOOT_OPT_USB_APP_DEV_ID}, \
                           {"usb-app-lcomp-devname", required_argument, 0, LBOOT_OPT_USB_APP_LCOMP_DEVNAME},

#define LBOOT_USB_BOOT_IFACES   &g_usb_intf_info,
#define LBOOT_USB_APP_IFACES    &g_usb_app_iface,

extern const t_boot_iface g_usb_intf_info;
extern const t_app_iface g_usb_app_iface;






#endif // LBOOT_USB_H
