projects
/
project
/
libubox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
avoid using the deprecated is_error() function from json-c
[project/libubox.git]
/
json_script.h
diff --git
a/json_script.h
b/json_script.h
index
25cc04f
..
9475baa
100644
(file)
--- 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(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
*
/*
* json_script_eval_string - evaluate a string and store the result
*