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/json_lib.h | |
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/json_lib.h')
-rw-r--r-- | include/json_lib.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/json_lib.h b/include/json_lib.h index a3475385ee6..b6add6d13a3 100644 --- a/include/json_lib.h +++ b/include/json_lib.h @@ -425,6 +425,11 @@ int json_path_compare(const json_path_t *a, const json_path_t *b, int json_valid(const char *js, size_t js_len, CHARSET_INFO *cs); +int json_locate_key(const char *js, const char *js_end, + const char *kname, + const char **key_start, const char **key_end, + int *comma_pos); + #ifdef __cplusplus } #endif |