Last change
on this file since 8439 was 7632, checked in by gf, 11 years ago |
cccam: Make MODULE_CCCSHARE option visible in config.
|
-
Property svn:eol-style
set to
LF
|
File size:
1.1 KB
|
Line | |
---|
1 | #ifndef MODULE_CCCAM_H_
|
---|
2 | #define MODULE_CCCAM_H_
|
---|
3 |
|
---|
4 | // In this file put functions that are called outside of module-cccam.c and module-cccshare.c
|
---|
5 |
|
---|
6 | void cc_update_nodeid(void);
|
---|
7 |
|
---|
8 | void cc_UA_cccam2oscam(uint8_t *in, uint8_t *out, uint16_t caid);
|
---|
9 |
|
---|
10 | int32_t cc_UA_valid(uint8_t *ua);
|
---|
11 |
|
---|
12 | void refresh_shares(void);
|
---|
13 | LLIST **get_and_lock_sharelist(void);
|
---|
14 | void unlock_sharelist(void);
|
---|
15 |
|
---|
16 | struct cc_card **get_sorted_card_copy(LLIST *cards, int32_t reverse, int32_t *size);
|
---|
17 |
|
---|
18 | void cccam_init_share(void);
|
---|
19 |
|
---|
20 | #if defined(MODULE_CCCSHARE)
|
---|
21 | void cccam_done_share(void);
|
---|
22 | #else
|
---|
23 | static inline void cccam_done_share(void) { }
|
---|
24 | #endif
|
---|
25 |
|
---|
26 | #if defined(MODULE_CCCAM)
|
---|
27 | bool cccam_forward_origin_card(ECM_REQUEST *er);
|
---|
28 | bool cccam_snprintf_cards_stat(struct s_client *cl, char *emmtext, size_t emmtext_sz);
|
---|
29 | bool cccam_client_extended_mode(struct s_client *cl);
|
---|
30 | #else
|
---|
31 | static inline bool cccam_forward_origin_card(ECM_REQUEST *UNUSED(er)) { return false; }
|
---|
32 | static inline bool cccam_snprintf_cards_stat(struct s_client *UNUSED(cl), char *UNUSED(emmtext), size_t UNUSED(emmtext_sz)) { return false; }
|
---|
33 | static inline bool cccam_client_extended_mode(struct s_client *UNUSED(cl)) { return false; }
|
---|
34 | #endif
|
---|
35 |
|
---|
36 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.