summaryrefslogtreecommitdiff
path: root/include/mysql/plugin_audit.h.pp
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@askmonty.org>2019-01-17 03:52:52 +0400
committerAlexey Botchkov <holyfoot@askmonty.org>2019-01-17 03:52:52 +0400
commit294d9bf2484abfd3409d4ac25a3b3b695d66b0ec (patch)
treed7b2d2b1e9ab9714ff9655a1e940f6195236d50c /include/mysql/plugin_audit.h.pp
parentedba0470803bf2277b5509af3b978f042c0b7204 (diff)
downloadmariadb-git-294d9bf2484abfd3409d4ac25a3b3b695d66b0ec.tar.gz
MDEV-5313 Improving audit api.
JSON api implementations and tests pushed. sql_acl.cc fixed with the new function names.
Diffstat (limited to 'include/mysql/plugin_audit.h.pp')
-rw-r--r--include/mysql/plugin_audit.h.pp20
1 files changed, 10 insertions, 10 deletions
diff --git a/include/mysql/plugin_audit.h.pp b/include/mysql/plugin_audit.h.pp
index 0588b211b81..47f07ae03c8 100644
--- a/include/mysql/plugin_audit.h.pp
+++ b/include/mysql/plugin_audit.h.pp
@@ -388,33 +388,33 @@ enum json_types
};
extern struct json_service_st {
enum json_types (*json_type)(const char *js, const char *js_end,
- const char **v, int *vlen);
+ const char **value, int *value_len);
enum json_types (*json_get_array_item)(const char *js, const char *js_end,
int n_item,
- const char **v, int *vlen);
+ const char **value, int *value_len);
enum json_types (*json_get_object_key)(const char *js, const char *js_end,
- const char *key,
- const char **v, int *vlen);
+ const char *key, const char *key_end,
+ const char **value, int *value_len);
enum json_types (*json_get_object_nkey)(const char *js,const char *js_end,
int nkey,
const char **keyname, const char **keyname_end,
- const char **v, int *vlen);
+ const char **value, int *value_len);
int (*json_escape_string)(const char *str,const char *str_end,
char *json, char *json_end);
int (*json_unescape_json)(const char *json_str, const char *json_end,
char *res, char *res_end);
} *json_service;
enum json_types json_type(const char *js, const char *js_end,
- const char **v, int *vlen);
+ const char **value, int *value_len);
enum json_types json_get_array_item(const char *js, const char *js_end,
int n_item,
- const char **v, int *vlen);
+ const char **value, int *value_len);
enum json_types json_get_object_key(const char *js, const char *js_end,
- const char *key,
- const char **v, int *vlen);
+ const char *key, const char *key_end,
+ const char **value, int *value_len);
enum json_types json_get_object_nkey(const char *js,const char *js_end, int nkey,
const char **keyname, const char **keyname_end,
- const char **v, int *vlen);
+ const char **value, int *value_len);
int json_escape_string(const char *str,const char *str_end,
char *json, char *json_end);
int json_unescape_json(const char *json_str, const char *json_end,