aboutsummaryrefslogtreecommitdiff
path: root/include/rootston
diff options
context:
space:
mode:
Diffstat (limited to 'include/rootston')
-rw-r--r--include/rootston/config.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/rootston/config.h b/include/rootston/config.h
index 8ef58100..d2a25b5b 100644
--- a/include/rootston/config.h
+++ b/include/rootston/config.h
@@ -58,8 +58,16 @@ struct roots_config {
char *startup_cmd;
};
+/**
+ * Create a roots config from the given command line arguments. Command line
+ * arguments can specify the location of the config file. If it is not
+ * specified, the default location will be used.
+ */
struct roots_config *parse_args(int argc, char *argv[]);
+/**
+ * Destroy the config and free its resources.
+ */
void roots_config_destroy(struct roots_config *config);
/**