forked from oscam-emu/oscam-patched-old
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodule-cccam-cacheex.h
22 lines (20 loc) · 949 Bytes
/
module-cccam-cacheex.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef MODULE_CCCAM_CACHEEX_H_
#define MODULE_CCCAM_CACHEEX_H_
#ifdef CS_CACHEEX
void cc_cacheex_filter_out(struct s_client *cl);
void cc_cacheex_filter_in(struct s_client *cl, uint8_t *buf);
void cc_cacheex_push_in(struct s_client *cl, uint8_t *buf);
void cc_cacheex_module_init(struct s_module *ph);
#ifdef CS_CACHEEX_AIO
void cc_cacheex_feature_request(struct s_client *cl);
void cc_cacheex_feature_request_reply(struct s_client *cl);
void cc_cacheex_feature_request_save(struct s_client *cl, uint8_t *buf);
void cc_cacheex_feature_trigger_in(struct s_client *cl, uint8_t *buf);
#endif
#else
static inline void cc_cacheex_filter_out(struct s_client *UNUSED(cl)) { }
static inline void cc_cacheex_filter_in(struct s_client *UNUSED(cl), uint8_t *UNUSED(buf)) { }
static inline void cc_cacheex_push_in(struct s_client *UNUSED(cl), uint8_t *UNUSED(buf)) { }
static inline void cc_cacheex_module_init(struct s_module *UNUSED(ph)) { }
#endif
#endif