Attempt to count descramblers used properly
[oscam.git] / module-camd35-cacheex.h
blobadb09f09ef4eefa4e5591167f2e662616d0b7d49
1 #ifndef MODULE_CAMD35_CACHEEX_H_
2 #define MODULE_CAMD35_CACHEEX_H_
4 #ifdef CS_CACHEEX
5 void camd35_cacheex_init_dcw(struct s_client *client, ECM_REQUEST *er);
6 void camd35_cacheex_recv_ce1_cwc_info(struct s_client *cl, uint8_t *buf, int32_t idx);
7 void camd35_cacheex_push_request_remote_id(struct s_client *cl);
8 void camd35_cacheex_send_push_filter(struct s_client *cl, uint8_t mode);
9 bool camd35_cacheex_server(struct s_client *client, uint8_t *mbuf);
10 bool camd35_cacheex_recv_chk(struct s_client *client, uint8_t *buf);
11 void camd35_cacheex_module_init(struct s_module *ph);
12 #else
13 static inline void camd35_cacheex_init_dcw(struct s_client *UNUSED(client), ECM_REQUEST *UNUSED(er)) { }
14 static inline void camd35_cacheex_recv_ce1_cwc_info(struct s_client *UNUSED(cl), uint8_t *UNUSED(buf), int32_t UNUSED(idx)) { }
15 static inline void camd35_cacheex_push_request_remote_id(struct s_client *UNUSED(cl)) { }
16 static inline void camd35_cacheex_send_push_filter(struct s_client *UNUSED(cl), uint8_t UNUSED(mode)) { }
17 static inline bool camd35_cacheex_server(struct s_client *UNUSED(client), uint8_t *UNUSED(mbuf)) { return 0; }
18 static inline bool camd35_cacheex_recv_chk(struct s_client *UNUSED(client), uint8_t *UNUSED(buf)) { return 0; }
19 static inline void camd35_cacheex_module_init(struct s_module *UNUSED(ph)) { }
20 #endif
22 #endif