Changeset 5373 for trunk/module-dvbapi.c
- Timestamp:
- 06/12/11 15:58:39 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/module-dvbapi.c
r5371 r5373 26 26 struct s_client *dvbapi_client=NULL; 27 27 28 #ifdef WITH_STAPI 28 29 int32_t stapi_on = 0; 30 pthread_mutex_t filter_lock; 31 struct STDEVICE dev_list[PTINUM]; 32 #endif 29 33 30 34 int32_t dvbapi_set_filter(int32_t demux_id, int32_t api, uint16_t pid, uchar *filt, uchar *mask, int32_t timeout, int32_t pidindex, int32_t count, int32_t type) { … … 103 107 } 104 108 105 int32_t dvbapi_check_array(uint16_t *array, int32_t len, uint16_t match) { 106 int32_t i; 107 for (i=0; i<len; i++) { 108 if (array[i]==match) { 109 return i; 110 } 111 } 112 return -1; 113 } 114 115 int32_t dvbapi_detect_api() { 109 static int32_t dvbapi_detect_api() { 116 110 #ifdef COOL 117 111 selected_api=COOLAPI; … … 182 176 } 183 177 184 int32_t dvbapi_read_device(int32_t dmx_fd, unsigned char *buf, int32_t length)178 static int32_t dvbapi_read_device(int32_t dmx_fd, unsigned char *buf, int32_t length) 185 179 { 186 180 int32_t len, rc;
Note:
See TracChangeset
for help on using the changeset viewer.