Antti Palosaari | 12042b0 | 2012-06-20 23:09:41 -0300 | [diff] [blame] | 1 | /* |
| 2 | * DVB USB framework |
Antti Palosaari | c79b339 | 2012-05-23 10:06:09 -0300 | [diff] [blame] | 3 | * |
Antti Palosaari | 12042b0 | 2012-06-20 23:09:41 -0300 | [diff] [blame] | 4 | * Copyright (C) 2004-6 Patrick Boettcher <patrick.boettcher@desy.de> |
| 5 | * Copyright (C) 2012 Antti Palosaari <crope@iki.fi> |
Antti Palosaari | c79b339 | 2012-05-23 10:06:09 -0300 | [diff] [blame] | 6 | * |
Antti Palosaari | 12042b0 | 2012-06-20 23:09:41 -0300 | [diff] [blame] | 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 of the License, or |
| 10 | * (at your option) 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 along |
| 18 | * with this program; if not, write to the Free Software Foundation, Inc., |
| 19 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. |
Antti Palosaari | c79b339 | 2012-05-23 10:06:09 -0300 | [diff] [blame] | 20 | */ |
Antti Palosaari | 12042b0 | 2012-06-20 23:09:41 -0300 | [diff] [blame] | 21 | |
Antti Palosaari | c79b339 | 2012-05-23 10:06:09 -0300 | [diff] [blame] | 22 | #ifndef DVB_USB_COMMON_H |
| 23 | #define DVB_USB_COMMON_H |
| 24 | |
Antti Palosaari | c79b339 | 2012-05-23 10:06:09 -0300 | [diff] [blame] | 25 | #include "dvb_usb.h" |
| 26 | |
Antti Palosaari | c79b339 | 2012-05-23 10:06:09 -0300 | [diff] [blame] | 27 | /* commonly used methods */ |
Antti Palosaari | 5978434 | 2012-08-01 14:44:06 -0300 | [diff] [blame] | 28 | extern int usb_urb_initv2(struct usb_data_stream *stream, |
Antti Palosaari | 6400a8c | 2012-06-16 16:02:57 -0300 | [diff] [blame] | 29 | const struct usb_data_stream_properties *props); |
Antti Palosaari | 5978434 | 2012-08-01 14:44:06 -0300 | [diff] [blame] | 30 | extern int usb_urb_exitv2(struct usb_data_stream *stream); |
| 31 | extern int usb_urb_submitv2(struct usb_data_stream *stream, |
Antti Palosaari | bce1c02 | 2012-05-28 17:25:40 -0300 | [diff] [blame] | 32 | struct usb_data_stream_properties *props); |
Antti Palosaari | 5978434 | 2012-08-01 14:44:06 -0300 | [diff] [blame] | 33 | extern int usb_urb_killv2(struct usb_data_stream *stream); |
Antti Palosaari | c79b339 | 2012-05-23 10:06:09 -0300 | [diff] [blame] | 34 | |
Antti Palosaari | c79b339 | 2012-05-23 10:06:09 -0300 | [diff] [blame] | 35 | #endif |