summaryrefslogtreecommitdiff
path: root/src/network/networkd-conf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/networkd-conf.h')
-rw-r--r--src/network/networkd-conf.h26
1 files changed, 4 insertions, 22 deletions
diff --git a/src/network/networkd-conf.h b/src/network/networkd-conf.h
index 9b481c294e..dfe463ecfb 100644
--- a/src/network/networkd-conf.h
+++ b/src/network/networkd-conf.h
@@ -7,31 +7,13 @@
Copyright 2014 Vinay Kulkarni <kulkarniv@vmware.com>
***/
+#include "conf-parser.h"
+
typedef struct Manager Manager;
int manager_parse_config_file(Manager *m);
const struct ConfigPerfItem* networkd_gperf_lookup(const char *key, GPERF_LEN_TYPE length);
-int config_parse_duid_type(
- const char *unit,
- const char *filename,
- unsigned line,
- const char *section,
- unsigned section_line,
- const char *lvalue,
- int ltype,
- const char *rvalue,
- void *data,
- void *userdata);
-int config_parse_duid_rawdata(
- const char *unit,
- const char *filename,
- unsigned line,
- const char *section,
- unsigned section_line,
- const char *lvalue,
- int ltype,
- const char *rvalue,
- void *data,
- void *userdata);
+CONFIG_PARSER_PROTOTYPE(config_parse_duid_type);
+CONFIG_PARSER_PROTOTYPE(config_parse_duid_rawdata);