libubox
C utility functions for OpenWrt.
|
#include <json_script.h>
Data Fields | |
struct avl_tree | files |
struct blob_buf | buf |
uint32_t | run_seq |
bool | abort |
void(* | handle_command )(struct json_script_ctx *ctx, const char *name, struct blob_attr *cmd, struct blob_attr *vars) |
int(* | handle_expr )(struct json_script_ctx *ctx, const char *name, struct blob_attr *expr, struct blob_attr *vars) |
const char *(* | handle_var )(struct json_script_ctx *ctx, const char *name, struct blob_attr *vars) |
struct json_script_file *(* | handle_file )(struct json_script_ctx *ctx, const char *name) |
void(* | handle_error )(struct json_script_ctx *ctx, const char *msg, struct blob_attr *context) |
Definition at line 26 of file json_script.h.
bool json_script_ctx::abort |
Definition at line 31 of file json_script.h.
struct blob_buf json_script_ctx::buf |
Definition at line 133 of file json_script.h.
struct avl_tree json_script_ctx::files |
Definition at line 133 of file json_script.h.
void(* json_script_ctx::handle_command) (struct json_script_ctx *ctx, const char *name, struct blob_attr *cmd, struct blob_attr *vars) |
Definition at line 40 of file json_script.h.
void(* json_script_ctx::handle_error) (struct json_script_ctx *ctx, const char *msg, struct blob_attr *context) |
Definition at line 77 of file json_script.h.
int(* json_script_ctx::handle_expr) (struct json_script_ctx *ctx, const char *name, struct blob_attr *expr, struct blob_attr *vars) |
Definition at line 50 of file json_script.h.
struct json_script_file*(* json_script_ctx::handle_file) (struct json_script_ctx *ctx, const char *name) |
Definition at line 57 of file json_script.h.
const char*(* json_script_ctx::handle_var) (struct json_script_ctx *ctx, const char *name, struct blob_attr *vars) |
Definition at line 57 of file json_script.h.
uint32_t json_script_ctx::run_seq |
Definition at line 30 of file json_script.h.