[gbx] - more generalized routing info in cw msg
[oscam.git] / oscam-cache.h
blobc758ee4158fc6d09f4a8d23fc577ad5cae29c974
1 #ifndef OSCAM_CACHE_H_
2 #define OSCAM_CACHE_H_
4 void init_cache(void);
5 void free_cache(void);
6 void add_cache(ECM_REQUEST *er);
7 struct ecm_request_t *check_cache(ECM_REQUEST *er, struct s_client *cl);
8 void cleanup_cache(bool force);
9 void remove_client_from_cache(struct s_client *cl);
10 uint32_t cache_size(void);
11 uint8_t get_odd_even(ECM_REQUEST *er);
12 uint8_t check_is_pushed(void *cw, struct s_client *cl);
14 #endif