]> the.earth.li Git - onak.git/blobdiff - onak-conf.h
Add "dumpconfig" command to onak to aide configuration file migration
[onak.git] / onak-conf.h
index d0495207af945f561e26d778f18a65c566fb845b..7c15cbb02583e7d6e2284e04ea7911979f561a14 100644 (file)
@@ -115,6 +115,14 @@ extern struct onak_config config;
  */
 void readconfig(const char *configfile);
 
+/**
+ * @brief write the onak config.
+ * @param configfile the config file to write to.
+ *
+ * Write out the config file. If config file is NULL write it to STDOUT.
+ */
+void writeconfig(const char *configfile);
+
 /**
  * @brief clean up the config when we're shutting down.
  */