X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;f=onak-conf.h;h=7c15cbb02583e7d6e2284e04ea7911979f561a14;hb=bf490f1ab8d9e6ccfdaf94814c8e6987994a7cf2;hp=d0495207af945f561e26d778f18a65c566fb845b;hpb=252f4d4b16eee6e61f0675f65069216cc37805c4;p=onak.git diff --git a/onak-conf.h b/onak-conf.h index d049520..7c15cbb 100644 --- a/onak-conf.h +++ b/onak-conf.h @@ -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. */