httpserver_raw/fs.h: added C++ include guards

This commit is contained in:
goldsimon 2014-11-21 17:05:32 +01:00
parent 3aec30b2a7
commit 074a7b5967
1 changed files with 8 additions and 0 deletions

View File

@ -35,6 +35,10 @@
#include "lwip/opt.h"
#include "lwip/err.h"
#ifdef __cplusplus
extern "C" {
#endif
/** Set this to 1 and provide the functions:
* - "int fs_open_custom(struct fs_file *file, const char *name)"
* 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);
#endif /* #if LWIP_HTTPD_FILE_STATE */
#ifdef __cplusplus
}
#endif
#endif /* LWIP_FS_H */