1 /* 2 * Copyright 2012 Jared Boone 3 * Copyright 2013 Benjamin Vernoux 4 * 5 * This file is part of HackRF. 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation; either version 2, or (at your option) 10 * any later version. 11 * 12 * This program is distributed in the hope that it will be useful, 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 * GNU General Public License for more details. 16 * 17 * You should have received a copy of the GNU General Public License 18 * along with this program; see the file COPYING. If not, write to 19 * the Free Software Foundation, Inc., 51 Franklin Street, 20 * Boston, MA 02110-1301, USA. 21 */ 22 23 #ifndef __USB_ENDPOINT_H__ 24 #define __USB_ENDPOINT_H__ 25 26 #include <usb_type.h> 27 #include <usb_queue.h> 28 29 extern usb_endpoint_t usb_endpoint_control_out; 30 extern USB_DECLARE_QUEUE(usb_endpoint_control_out); 31 32 extern usb_endpoint_t usb_endpoint_control_in; 33 extern USB_DECLARE_QUEUE(usb_endpoint_control_in); 34 35 extern usb_endpoint_t usb_endpoint_bulk_in; 36 extern USB_DECLARE_QUEUE(usb_endpoint_bulk_in); 37 38 extern usb_endpoint_t usb_endpoint_bulk_out; 39 extern USB_DECLARE_QUEUE(usb_endpoint_bulk_out); 40 41 #endif /* end of include guard: __USB_ENDPOINT_H__ */ 42