X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fconfig_parser.h;h=e18e5cf2a892180436c870b0261ab7035ec8026f;hb=294d52e0180ea81bd18606fa604486026855691a;hp=6f1b5315af5e0b98989609844dbb14536560e711;hpb=cacc199a6837868a67c4f546df5bd32972d6cc5c;p=i3%2Fi3 diff --git a/include/config_parser.h b/include/config_parser.h index 6f1b5315..e18e5cf2 100644 --- a/include/config_parser.h +++ b/include/config_parser.h @@ -14,11 +14,12 @@ extern pid_t config_error_nagbar_pid; /* - * The result of a parse_config call. Currently unused, but the JSON output - * will be useful in the future when we implement a config parsing IPC command. + * An intermediate reprsentation of the result of a parse_config call. + * Currently unused, but the JSON output will be useful in the future when we + * implement a config parsing IPC command. * */ -struct ConfigResult { +struct ConfigResultIR { /* The JSON generator to append a reply to. */ yajl_gen json_gen; @@ -28,7 +29,7 @@ struct ConfigResult { int next_state; }; -struct ConfigResult *parse_config(const char *input, struct context *context); +struct ConfigResultIR *parse_config(const char *input, struct context *context); /** * Parses the given file by first replacing the variables, then calling