- fix Building without Nagra not possible at Nagra_Merlin https://trac.streamboard...
[oscam.git] / module-camd35-cacheex.h
blob6d3873ddeebe7def08260718026369fad4c5272e
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 #ifdef CS_CACHEEX_AIO
13 void camd35_cacheex_feature_request(struct s_client *cl);
14 #endif
15 #else
16 static inline void camd35_cacheex_init_dcw(struct s_client *UNUSED(client), ECM_REQUEST *UNUSED(er)) { }
17 static inline void camd35_cacheex_recv_ce1_cwc_info(struct s_client *UNUSED(cl), uint8_t *UNUSED(buf), int32_t UNUSED(idx)) { }
18 static inline void camd35_cacheex_push_request_remote_id(struct s_client *UNUSED(cl)) { }
19 static inline void camd35_cacheex_send_push_filter(struct s_client *UNUSED(cl), uint8_t UNUSED(mode)) { }
20 static inline bool camd35_cacheex_server(struct s_client *UNUSED(client), uint8_t *UNUSED(mbuf)) { return 0; }
21 static inline bool camd35_cacheex_recv_chk(struct s_client *UNUSED(client), uint8_t *UNUSED(buf)) { return 0; }
22 static inline void camd35_cacheex_module_init(struct s_module *UNUSED(ph)) { }
23 #endif
25 #endif