X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fconfig_parser.h;h=e18e5cf2a892180436c870b0261ab7035ec8026f;hb=45fa4b7d232ee23ad25802fe3f7c9c3a75fca77e;hp=6f1b5315af5e0b98989609844dbb14536560e711;hpb=2314f107784196d8fc7ee500645dbdf548f91386;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