PageRenderTime 45ms CodeModel.GetById 19ms RepoModel.GetById 1ms app.codeStats 0ms

/w_scan-20120112/dump-vlc-m3u.h

#
C Header | 66 lines | 32 code | 9 blank | 25 comment | 0 complexity | a6bd5f44d282654d2ccc5e1194463209 MD5 | raw file
Possible License(s): GPL-2.0
  1. /*
  2. * Simple MPEG/DVB parser to achieve network/service information without initial tuning data
  3. *
  4. * Copyright (C) 2006, 2007, 2008, 2010, 2011 Winfried Koehler
  5. *
  6. * This program is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU General Public License
  8. * as published by the Free Software Foundation; either version 2
  9. * of the License, or (at your option) any later version.
  10. *
  11. * This program is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. * GNU General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with this program; if not, write to the Free Software
  18. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  19. * Or, point your browser to http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
  20. *
  21. * The author can be reached at: handygewinnspiel AT gmx DOT de
  22. *
  23. * The project's page is http://wirbel.htpc-forum.de/w_scan/index2.html
  24. */
  25. #ifndef __DUMP_VLC_M3U_H__
  26. #define __DUMP_VLC_M3U_H__
  27. /* 20110702 --wk */
  28. #include <stdint.h>
  29. #include "extended_frontend.h"
  30. #include "scan.h"
  31. #include "lnb.h"
  32. void vlc_file_header (FILE * f,
  33. uint16_t adapter,
  34. uint16_t frontend,
  35. struct w_scan_flags * flags,
  36. struct lnb_types_st * lnbp);
  37. void vlc_dump_service_parameter_set (FILE * f,
  38. const char * service_name,
  39. const char * provider_name,
  40. struct tuning_parameters * t,
  41. uint16_t video_pid,
  42. uint16_t * audio_pid,
  43. uint16_t service_id,
  44. struct w_scan_flags * flags,
  45. struct lnb_types_st *lnbp);
  46. void vlc_xspf_prolog (FILE * f,
  47. uint16_t adapter,
  48. uint16_t frontend,
  49. struct w_scan_flags * flags,
  50. struct lnb_types_st * lnbp);
  51. void vlc_dump_service_parameter_set_as_xspf (FILE * f,
  52. struct service * s,
  53. struct transponder * t,
  54. struct w_scan_flags * flags,
  55. struct lnb_types_st *lnbp);
  56. void vlc_xspf_epilog (FILE * f);
  57. #endif