diff options
author | Alexey Botchkov <holyfoot@askmonty.org> | 2019-01-18 03:18:02 +0400 |
---|---|---|
committer | Alexey Botchkov <holyfoot@askmonty.org> | 2019-01-18 03:18:02 +0400 |
commit | cc18a5db9bce667c9b8722cdf6f51ee83b55a4b0 (patch) | |
tree | eb6aafe6d4bc36cacf68bc3d9955669ddbb37f3b /include/mysql/plugin_auth.h.pp | |
parent | dd03cb3776e6d25dc1dd2c3a83473a1b78ae99f9 (diff) | |
download | mariadb-git-cc18a5db9bce667c9b8722cdf6f51ee83b55a4b0.tar.gz |
MDEV-5313 Improving audit API.
json_locate_key() implemented.
get rid of 'key_len' argument in functions.
Diffstat (limited to 'include/mysql/plugin_auth.h.pp')
-rw-r--r-- | include/mysql/plugin_auth.h.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mysql/plugin_auth.h.pp b/include/mysql/plugin_auth.h.pp index f9d01a8aa0c..41cb7d075c4 100644 --- a/include/mysql/plugin_auth.h.pp +++ b/include/mysql/plugin_auth.h.pp @@ -393,7 +393,7 @@ extern struct json_service_st { int n_item, 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 *key_end, + const char *key, const char **value, int *value_len); enum json_types (*json_get_object_nkey)(const char *js,const char *js_end, int nkey, @@ -410,7 +410,7 @@ enum json_types json_get_array_item(const char *js, const char *js_end, int n_item, 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 *key_end, + const char *key, 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, |