httpserver_raw/fs.h: added C++ include guards
This commit is contained in:
parent
3aec30b2a7
commit
074a7b5967
|
@ -35,6 +35,10 @@
|
||||||
#include "lwip/opt.h"
|
#include "lwip/opt.h"
|
||||||
#include "lwip/err.h"
|
#include "lwip/err.h"
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
|
||||||
/** Set this to 1 and provide the functions:
|
/** Set this to 1 and provide the functions:
|
||||||
* - "int fs_open_custom(struct fs_file *file, const char *name)"
|
* - "int fs_open_custom(struct fs_file *file, const char *name)"
|
||||||
* Called first for every opened file to allow opening files
|
* Called first for every opened file to allow opening files
|
||||||
|
@ -129,4 +133,8 @@ void *fs_state_init(struct fs_file *file, const char *name);
|
||||||
void fs_state_free(struct fs_file *file, void *state);
|
void fs_state_free(struct fs_file *file, void *state);
|
||||||
#endif /* #if LWIP_HTTPD_FILE_STATE */
|
#endif /* #if LWIP_HTTPD_FILE_STATE */
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* LWIP_FS_H */
|
#endif /* LWIP_FS_H */
|
||||||
|
|
Loading…
Reference in New Issue