ulog: introduce new simple logging api
[project/libubox.git] / json_script.h
index 25cc04ff79ae89c9b01b62d47c4b5971c6231d46..9475baa59507f8284048386fe8fd152192d6146d 100644 (file)
@@ -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
  *