Changeset 8489 for trunk/module-dvbapi.c
- Timestamp:
- 03/06/13 03:07:48 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/module-dvbapi.c
r8451 r8489 24 24 extern uint16_t openxcas_sid, openxcas_caid, openxcas_ecm_pid; 25 25 26 int32_t disable_pmt_files=0; 27 DEMUXTYPE demux[MAX_DEMUX]; 28 struct s_dvbapi_priority *dvbapi_priority; 29 struct s_client *dvbapi_client; 30 26 31 const char *boxdesc[] = { "none", "dreambox", "duckbox", "ufs910", "dbox2", "ipbox", "ipbox-pmt", "dm7000", "qboxhd", "coolstream", "neumo", "pc" }; 27 32 28 const struct box_devices devices[BOX_COUNT] = {33 static const struct box_devices devices[BOX_COUNT] = { 29 34 /* QboxHD (dvb-api-3)*/ { "/tmp/virtual_adapter/", "ca%d", "demux%d", "/tmp/camd.socket", DVBAPI_3 }, 30 35 /* dreambox (dvb-api-3)*/ { "/dev/dvb/adapter%d/", "ca%d", "demux%d", "/tmp/camd.socket", DVBAPI_3 }, … … 35 40 }; 36 41 37 int32_t selected_box=-1; 38 int32_t selected_api=-1; 39 int32_t disable_pmt_files=0; 40 int32_t dir_fd=-1, pausecam=0; 41 DEMUXTYPE demux[MAX_DEMUX]; 42 int32_t ca_fd[8]; 43 LLIST *channel_cache; 44 45 struct s_dvbapi_priority *dvbapi_priority=NULL; 46 struct s_client *dvbapi_client=NULL; 47 48 struct s_emm_filter { 42 static int32_t selected_box=-1; 43 static int32_t selected_api=-1; 44 static int32_t dir_fd=-1; 45 static int32_t pausecam; 46 static int32_t ca_fd[8]; 47 static LLIST *channel_cache; 48 49 struct s_emm_filter { 49 50 int32_t demux_id; 50 51 uchar filter[32]; … … 55 56 uint32_t num; 56 57 time_t time_started; 57 } S_EMM_FILTER; 58 LLIST *ll_emm_active_filter = NULL; 59 LLIST *ll_emm_inactive_filter = NULL; 60 LLIST *ll_emm_pending_filter = NULL; 58 }; 59 60 static LLIST *ll_emm_active_filter; 61 static LLIST *ll_emm_inactive_filter; 62 static LLIST *ll_emm_pending_filter; 61 63 62 64 struct s_channel_cache { … … 66 68 uint16_t pid; 67 69 int8_t chid; 68 } CHANNEL_CACHE;70 }; 69 71 70 72 struct s_channel_cache *find_channel_cache(int32_t demux_id, int32_t pidindex, int8_t caid_and_prid_only) … … 2055 2057 } 2056 2058 2057 pthread_mutex_t event_handler_lock;2059 static pthread_mutex_t event_handler_lock; 2058 2060 2059 2061 void event_handler(int32_t UNUSED(signal)) {
Note:
See TracChangeset
for help on using the changeset viewer.