Last change
on this file since 8444 was 7572, checked in by gf, 11 years ago |
Leave only public functions in module-webif.h move the rest in module-webif-{lib,pages}.h
|
-
Property svn:eol-style
set to
LF
|
File size:
849 bytes
|
Line | |
---|
1 | #ifndef MODULE_WEBIF_H_
|
---|
2 | #define MODULE_WEBIF_H_
|
---|
3 |
|
---|
4 | #ifdef WEBIF
|
---|
5 | void webif_init(void);
|
---|
6 | void webif_client_reset_lastresponsetime(struct s_client *cl);
|
---|
7 | void webif_client_add_lastresponsetime(struct s_client *cl, int32_t ltime, time_t timestamp, int32_t rc);
|
---|
8 | void webif_client_init_lastreader(struct s_client *cl, ECM_REQUEST *er, struct s_reader *er_reader, const char *stxt[]);
|
---|
9 | #else
|
---|
10 | static inline void webif_init(void) { }
|
---|
11 | static inline void webif_client_reset_lastresponsetime(struct s_client *UNUSED(cl)) { }
|
---|
12 | static inline void webif_client_add_lastresponsetime(struct s_client *UNUSED(cl), int32_t UNUSED(ltime), time_t UNUSED(timestamp), int32_t UNUSED(rc)) { }
|
---|
13 | 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[])) { }
|
---|
14 | #endif
|
---|
15 |
|
---|
16 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.