X-Git-Url: http://git.archive.openwrt.org/?p=project%2Flibubox.git;a=blobdiff_plain;f=json_script.h;h=9475baa59507f8284048386fe8fd152192d6146d;hp=25cc04ff79ae89c9b01b62d47c4b5971c6231d46;hb=d416bf66555c9398f81b4546c96084b1d311fd8d;hpb=178fe974af1d0fa4130f865f7b494b0d6b1b05a4 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 *