1
0
mirror of https://github.com/falk-werner/webfused synced 2024-09-28 17:00:45 +00:00
falk-werner_webfused/src/webfused/config/factory.h

30 lines
428 B
C
Raw Normal View History

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