X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;ds=sidebyside;f=json_script.h;h=9475baa59507f8284048386fe8fd152192d6146d;hb=f3977836afc82ce32c203173bd393789e05a123e;hp=25cc04ff79ae89c9b01b62d47c4b5971c6231d46;hpb=178fe974af1d0fa4130f865f7b494b0d6b1b05a4;p=project%2Flibubox.git diff --git a/json_script.h b/json_script.h index 25cc04f..9475baa 100644 --- a/json_script.h +++ b/json_script.h @@ -97,6 +97,8 @@ void json_script_free(struct json_script_ctx *ctx); void json_script_run(struct json_script_ctx *ctx, const char *filename, struct blob_attr *vars); +void json_script_run_file(struct json_script_ctx *ctx, struct json_script_file *file, + struct blob_attr *vars); /* * json_script_eval_string - evaluate a string and store the result *