GNU Linux-libre 6.7.9-gnu
[releases.git] / drivers / media / usb / dvb-usb-v2 / dvb_usb_common.h
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * DVB USB framework
4  *
5  * Copyright (C) 2004-6 Patrick Boettcher <patrick.boettcher@posteo.de>
6  * Copyright (C) 2012 Antti Palosaari <crope@iki.fi>
7  */
8
9 #ifndef DVB_USB_COMMON_H
10 #define DVB_USB_COMMON_H
11
12 #include "dvb_usb.h"
13
14 /* commonly used  methods */
15 extern int usb_urb_initv2(struct usb_data_stream *stream,
16                 const struct usb_data_stream_properties *props);
17 extern int usb_urb_exitv2(struct usb_data_stream *stream);
18 extern int usb_urb_submitv2(struct usb_data_stream *stream,
19                 struct usb_data_stream_properties *props);
20 extern int usb_urb_killv2(struct usb_data_stream *stream);
21
22 #endif