scan_list.h 1.81 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
/*****************************************************************************
 * scan_list.h : Scanning parameters and transponders list
 *****************************************************************************
 * Copyright (C) 2016 VLC authors and VideoLAN
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation; either version 2.1 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.    See the
 * GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program; if not, write to the Free Software Foundation,
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA    02111, USA.
 *****************************************************************************/
#ifndef VLC_SCAN_LIST_H
#define VLC_SCAN_LIST_H

typedef struct scan_list_entry_t scan_list_entry_t;

typedef struct scan_list_entry_t
{
    char *psz_channel;
28

29 30 31
    unsigned i_freq;
    unsigned i_bw;
    unsigned i_rate;
32 33 34 35 36 37 38 39

    scan_modulation_t modulation;
    scan_coderate_t   coderate_lp;
    scan_coderate_t   coderate_hp;
    scan_coderate_t   inner_fec;
    scan_guard_t      guard_interval;
    scan_delivery_t   delivery;
    scan_polarization_t polarization;
40 41 42 43 44

    scan_list_entry_t *p_next;

} scan_list_entry_t;

45
scan_list_entry_t * scan_list_dvbv5_load( vlc_object_t *, const char *, size_t * );
46 47
scan_list_entry_t * scan_list_dvbv3_load( vlc_object_t *, const char *, size_t * );

48 49 50
void scan_list_entries_release( scan_list_entry_t * );

#endif