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