]> git.sesse.net Git - vlc/blobdiff - modules/access/dvb/scan.h
DVB-S scanning support
[vlc] / modules / access / dvb / scan.h
index d8e8c2a10adfb60060004ef33aa3f4e603054a3f..1cd4bb535fb5c713514d9b8dc5aba58a49f152da 100644 (file)
@@ -1,9 +1,10 @@
 /*****************************************************************************
  * scan.h : functions to ease DVB scanning
  *****************************************************************************
- * Copyright (C) 2008 the VideoLAN team
+ * Copyright (C) 2008,2010 the VideoLAN team
  *
  * Authors: Laurent Aimar <fenrir@videolan.org>
+ *          David Kaplan <david@2of1.org>
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -44,10 +45,21 @@ typedef enum
     SCAN_DVB_C,
 } scan_type_t;
 
+typedef struct
+{
+    int i_frequency;
+    int i_symbol_rate;
+    int i_fec;
+    char c_polarization;
+} scan_dvbs_transponder_t;
+
 typedef struct
 {
     scan_type_t type;
     bool b_exhaustive;
+    bool b_use_nit;
+    bool b_free_only;
+
     struct
     {
         int i_min;
@@ -67,12 +79,27 @@ typedef struct
         int i_count;
     } bandwidth;
 
+    struct
+    {
+        char *psz_name;         /* satellite name */
+        char *psz_path;         /* config file path */
+
+        scan_dvbs_transponder_t *p_transponders;
+        int i_count;
+    } sat_info;
+
 } scan_parameter_t;
 
 typedef struct
 {
     int i_frequency;
-    int i_bandwidth;
+    union
+    {
+        int i_bandwidth;
+        int i_symbol_rate;
+    };
+    int i_fec;
+    char c_polarization;
 } scan_configuration_t;
 
 typedef enum
@@ -95,7 +122,6 @@ typedef struct
     int  i_channel;     /* -1 if unknown */
     bool b_crypted;     /* True if potentially crypted */
 
-
     int i_network_id;
 
     int i_nit_version;