Commit | Line | Data |
---|---|---|
12042b05 AP |
1 | /* |
2 | * DVB USB framework | |
c79b339f | 3 | * |
99e44da7 | 4 | * Copyright (C) 2004-6 Patrick Boettcher <patrick.boettcher@posteo.de> |
12042b05 | 5 | * Copyright (C) 2012 Antti Palosaari <crope@iki.fi> |
c79b339f | 6 | * |
12042b05 AP |
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. | |
c79b339f | 20 | */ |
12042b05 | 21 | |
c79b339f AP |
22 | #ifndef DVB_USB_COMMON_H |
23 | #define DVB_USB_COMMON_H | |
24 | ||
c79b339f AP |
25 | #include "dvb_usb.h" |
26 | ||
c79b339f | 27 | /* commonly used methods */ |
59784343 | 28 | extern int usb_urb_initv2(struct usb_data_stream *stream, |
6400a8c5 | 29 | const struct usb_data_stream_properties *props); |
59784343 AP |
30 | extern int usb_urb_exitv2(struct usb_data_stream *stream); |
31 | extern int usb_urb_submitv2(struct usb_data_stream *stream, | |
bce1c029 | 32 | struct usb_data_stream_properties *props); |
59784343 | 33 | extern int usb_urb_killv2(struct usb_data_stream *stream); |
c79b339f | 34 | |
c79b339f | 35 | #endif |