rootston: documentation for config.h functions

master
Tony Crisci 7 years ago
parent 6e00140e8a
commit 18079e234a

@ -58,8 +58,16 @@ struct roots_config {
char *startup_cmd; 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[]); struct roots_config *parse_args(int argc, char *argv[]);
/**
* Destroy the config and free its resources.
*/
void roots_config_destroy(struct roots_config *config); void roots_config_destroy(struct roots_config *config);
/** /**

Loading…
Cancel
Save