diff --git a/usb_replay.c b/usb_replay.c index 32e9cf1..3ae7bf8 100644 --- a/usb_replay.c +++ b/usb_replay.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include "common.h" #include "usb_replay.h" diff --git a/usb_replay.h b/usb_replay.h index 3dd0980..b28c6c8 100644 --- a/usb_replay.h +++ b/usb_replay.h @@ -34,4 +34,8 @@ typedef struct urb_s { uint16_t wLength; } urb_t; +void usb_init(unsigned int vid, unsigned int pid); +void perform_transfer(urb_t *urb); +void print_help_and_exit(char **argv); + #endif diff --git a/usb_replay.y b/usb_replay.y index fc7c4a2..1efaf08 100644 --- a/usb_replay.y +++ b/usb_replay.y @@ -2,6 +2,7 @@ #include #include #include + #include "common.h" #include "usb_replay.h" #include "error.h" int yylex(void);