- remove unnecessary imports during libdvbcsa static build
[oscam.git] / oscam-cache.h
blobd28aabb27d50b9619e89ee2d1d2c784905a85aa8
1 #ifndef OSCAM_CACHE_H_
2 #define OSCAM_CACHE_H_
4 void init_cache(void);
5 #ifdef CS_CACHEEX_AIO
6 void init_cw_cache(void);
7 #endif
8 void free_cache(void);
9 void add_cache(ECM_REQUEST *er);
10 struct ecm_request_t *check_cache(ECM_REQUEST *er, struct s_client *cl);
11 void cleanup_cache(bool force);
12 void remove_client_from_cache(struct s_client *cl);
13 uint32_t cache_size(void);
14 #ifdef CS_CACHEEX_AIO
15 uint32_t cache_size_lg(void);
16 #endif
17 uint8_t get_odd_even(ECM_REQUEST *er);
18 uint8_t check_is_pushed(void *cw, struct s_client *cl);
19 #ifdef CS_CACHEEX_AIO
20 void cw_cache_cleanup(bool force);
21 int compare_csp_hash(const void *arg, const void *obj);
22 void cacheex_get_srcnodeid(ECM_REQUEST *er, uint8_t *remotenodeid);
23 #endif
24 #endif