dvb_usb_common.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  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. #ifndef DVB_USB_COMMON_H
  22. #define DVB_USB_COMMON_H
  23. #include "dvb_usb.h"
  24. /* commonly used methods */
  25. extern int usb_urb_initv2(struct usb_data_stream *stream,
  26. const struct usb_data_stream_properties *props);
  27. extern int usb_urb_exitv2(struct usb_data_stream *stream);
  28. extern int usb_urb_submitv2(struct usb_data_stream *stream,
  29. struct usb_data_stream_properties *props);
  30. extern int usb_urb_killv2(struct usb_data_stream *stream);
  31. #endif