2020-03-08 15:14:55 +00:00
|
|
|
#ifndef WFD_CONFIG_FACTORY_H
|
|
|
|
#define WFD_CONFIG_FACTORY_H
|
|
|
|
|
2020-03-15 20:48:45 +00:00
|
|
|
#ifndef __cplusplus
|
|
|
|
#include <stdbool.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "webfused/config/builder.h"
|
|
|
|
|
2020-03-08 15:14:55 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C"
|
|
|
|
{
|
|
|
|
#endif
|
|
|
|
|
2020-03-15 20:48:45 +00:00
|
|
|
extern bool
|
2020-03-08 15:14:55 +00:00
|
|
|
wfd_config_load_file(
|
2020-03-15 20:48:45 +00:00
|
|
|
struct wfd_config_builder builder,
|
2020-03-08 15:14:55 +00:00
|
|
|
char const * filename);
|
|
|
|
|
2020-03-15 20:48:45 +00:00
|
|
|
extern bool
|
2020-03-08 15:14:55 +00:00
|
|
|
wfd_config_load_string(
|
2020-03-15 20:48:45 +00:00
|
|
|
struct wfd_config_builder builder,
|
2020-03-08 15:14:55 +00:00
|
|
|
char const * contents);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|