]> git.ipfire.org Git - people/ms/network.git/blobdiff - src/networkd/daemon.h
networkd: Implement smarter handling of the configuration file hierarchy
[people/ms/network.git] / src / networkd / daemon.h
index b03086c873b5f0ae7a6468040091cd326ecde1a7..2d56d7971f9fb0d634af9677f0849a720966daef 100644 (file)
@@ -29,6 +29,7 @@
 
 typedef struct nw_daemon nw_daemon;
 
+#include "config.h"
 #include "link.h"
 #include "links.h"
 #include "port.h"
@@ -47,11 +48,7 @@ int nw_daemon_reload(nw_daemon* daemon);
 
 int nw_daemon_save(nw_daemon* daemon);
 
-/*
-       Configuration
-*/
-FILE* nw_daemon_config_fopen(nw_daemon* daemon, const char* path, const char* mode);
-DIR* nw_daemon_config_opendir(nw_daemon* daemon, const char* path);
+nw_configd* nw_daemon_configd(nw_daemon* daemon, const char* path);
 
 /*
        Bus