diff options
| author | Albert Cervin <albert@acervin.com> | 2023-05-24 23:28:09 +0200 |
|---|---|---|
| committer | Albert Cervin <albert@acervin.com> | 2023-05-24 23:28:09 +0200 |
| commit | f2614efe03e04575e1b9ded663a553557452c7ae (patch) | |
| tree | de8d8a538cec3595fcb716d413fa3bf4f68e173c /src/dged/settings.h | |
| parent | 4f3b576db6b01c8c88076985478e2a7fa37be340 (diff) | |
| download | dged-f2614efe03e04575e1b9ded663a553557452c7ae.tar.gz dged-f2614efe03e04575e1b9ded663a553557452c7ae.tar.xz dged-f2614efe03e04575e1b9ded663a553557452c7ae.zip | |
Formatting changes
Diffstat (limited to 'src/dged/settings.h')
| -rw-r--r-- | src/dged/settings.h | 33 |
1 files changed, 17 insertions, 16 deletions
diff --git a/src/dged/settings.h b/src/dged/settings.h index 80f6b0f..637844b 100644 --- a/src/dged/settings.h +++ b/src/dged/settings.h @@ -137,23 +137,24 @@ void setting_set_value(struct setting *setting, struct setting_value val); void setting_to_string(struct setting *setting, char *buf, size_t n); /** - * Parse settings from a string in TOML format. - * - * @param toml Pointer to a NULL-terminated string containing TOML settings. - * @param errmsgs Pointer to a string array where error messages will be placed. These - * messages must be freed after use. - * @returns 0 on success, n > 0 where n denotes the number of error messages in - * @ref errmsgs - */ + * Parse settings from a string in TOML format. + * + * @param toml Pointer to a NULL-terminated string containing TOML settings. + * @param errmsgs Pointer to a string array where error messages will be placed. + * These messages must be freed after use. + * @returns 0 on success, n > 0 where n denotes the number of error messages in + * @ref errmsgs + */ int32_t settings_from_string(const char *toml, char **errmsgs[]); /** - * Parse settings from a file in TOML format. - * - * @param toml Pointer to a NULL-terminated string describing a path to a TOML file with settings. - * @param errmsgs Pointer to a string array where error messages will be placed. These - * messages must be freed after use. - * @returns 0 on success, n > 0 where n denotes the number of error messages in - * @ref errmsgs - */ + * Parse settings from a file in TOML format. + * + * @param toml Pointer to a NULL-terminated string describing a path to a TOML + * file with settings. + * @param errmsgs Pointer to a string array where error messages will be placed. + * These messages must be freed after use. + * @returns 0 on success, n > 0 where n denotes the number of error messages in + * @ref errmsgs + */ int32_t settings_from_file(const char *path, char **errmsgs[]); |
