- fix Building without Nagra not possible at Nagra_Merlin https://trac.streamboard...
[oscam.git] / module-webif.h
blob8e1bb90ac0f9ab6ff189a8e7aed3f2ec0f8689f2
1 #ifndef MODULE_WEBIF_H_
2 #define MODULE_WEBIF_H_
4 #ifdef WEBIF
5 void webif_init(void);
6 void webif_close(void);
7 void webif_client_reset_lastresponsetime(struct s_client *cl);
8 void webif_client_add_lastresponsetime(struct s_client *cl, int32_t ltime, time_t timestamp, int32_t rc);
9 void webif_client_init_lastreader(struct s_client *cl, ECM_REQUEST *er, struct s_reader *er_reader, const char *stxt[]);
10 #else
11 static inline void webif_init(void) { }
12 static inline void webif_close(void) { }
13 static inline void webif_client_reset_lastresponsetime(struct s_client *UNUSED(cl)) { }
14 static inline void webif_client_add_lastresponsetime(struct s_client *UNUSED(cl), int32_t UNUSED(ltime), time_t UNUSED(timestamp), int32_t UNUSED(rc)) { }
15 static inline void webif_client_init_lastreader(struct s_client *UNUSED(cl), ECM_REQUEST *UNUSED(er), struct s_reader *UNUSED(er_reader), const char *UNUSED(stxt[])) { }
16 #endif
18 #endif