Last change
on this file was 10271, checked in by theparasol, 9 years ago |
dvbapi:
Channelcache enhenced once more: deleting whole channelcache on oscam.dvbapi change removed.
Now exact channelcache hit is checked at end of ecmpid prio/ignore matching.
If a channelcache entry matches with highest prio -> start descrambling only that ecmpid otherwise ignore channelcache.
|
File size:
566 bytes
|
Line | |
---|
1 | #ifndef MODULE_DVBAPI_CHANCACHE_H_
|
---|
2 | #define MODULE_DVBAPI_CHANCACHE_H_
|
---|
3 |
|
---|
4 | #ifdef HAVE_DVBAPI
|
---|
5 |
|
---|
6 | struct s_channel_cache
|
---|
7 | {
|
---|
8 | uint16_t caid;
|
---|
9 | uint32_t prid;
|
---|
10 | uint16_t srvid;
|
---|
11 | uint16_t pid;
|
---|
12 | uint32_t chid;
|
---|
13 | };
|
---|
14 |
|
---|
15 | void dvbapi_save_channel_cache(void);
|
---|
16 | void dvbapi_load_channel_cache(void);
|
---|
17 | struct s_channel_cache *dvbapi_find_channel_cache(int32_t demux_id, int32_t pidindex, int8_t caid_and_prid_only);
|
---|
18 | int32_t dvbapi_edit_channel_cache(int32_t demux_id, int32_t pidindex, uint8_t add);
|
---|
19 |
|
---|
20 | #else
|
---|
21 | static inline void dvbapi_save_channel_cache(void) { }
|
---|
22 | #endif
|
---|
23 |
|
---|
24 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.