blob: 45f07090d431a25c3c2b2c645d90bf9c5b113c14 [file] [log] [blame]
Antti Palosaari12042b02012-06-20 23:09:41 -03001/*
2 * DVB USB framework
Antti Palosaaric79b3392012-05-23 10:06:09 -03003 *
Antti Palosaari12042b02012-06-20 23:09:41 -03004 * Copyright (C) 2004-6 Patrick Boettcher <patrick.boettcher@desy.de>
5 * Copyright (C) 2012 Antti Palosaari <crope@iki.fi>
Antti Palosaaric79b3392012-05-23 10:06:09 -03006 *
Antti Palosaari12042b02012-06-20 23:09:41 -03007 * 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 Palosaaric79b3392012-05-23 10:06:09 -030020 */
Antti Palosaari12042b02012-06-20 23:09:41 -030021
Antti Palosaaric79b3392012-05-23 10:06:09 -030022#ifndef DVB_USB_COMMON_H
23#define DVB_USB_COMMON_H
24
Antti Palosaaric79b3392012-05-23 10:06:09 -030025#include "dvb_usb.h"
26
Antti Palosaaric79b3392012-05-23 10:06:09 -030027/* commonly used methods */
Antti Palosaari59784342012-08-01 14:44:06 -030028extern int usb_urb_initv2(struct usb_data_stream *stream,
Antti Palosaari6400a8c2012-06-16 16:02:57 -030029 const struct usb_data_stream_properties *props);
Antti Palosaari59784342012-08-01 14:44:06 -030030extern int usb_urb_exitv2(struct usb_data_stream *stream);
31extern int usb_urb_submitv2(struct usb_data_stream *stream,
Antti Palosaaribce1c022012-05-28 17:25:40 -030032 struct usb_data_stream_properties *props);
Antti Palosaari59784342012-08-01 14:44:06 -030033extern int usb_urb_killv2(struct usb_data_stream *stream);
Antti Palosaaric79b3392012-05-23 10:06:09 -030034
Antti Palosaaric79b3392012-05-23 10:06:09 -030035#endif