summaryrefslogtreecommitdiff
path: root/include/json_lib.h
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@askmonty.org>2019-01-18 03:18:02 +0400
committerAlexey Botchkov <holyfoot@askmonty.org>2019-01-18 03:18:02 +0400
commitcc18a5db9bce667c9b8722cdf6f51ee83b55a4b0 (patch)
treeeb6aafe6d4bc36cacf68bc3d9955669ddbb37f3b /include/json_lib.h
parentdd03cb3776e6d25dc1dd2c3a83473a1b78ae99f9 (diff)
downloadmariadb-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.h5
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