summaryrefslogtreecommitdiff
path: root/wsutil/wsjsmn.h
diff options
context:
space:
mode:
Diffstat (limited to 'wsutil/wsjsmn.h')
-rw-r--r--wsutil/wsjsmn.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/wsutil/wsjsmn.h b/wsutil/wsjsmn.h
index 84e63ebf3c..4b4d9054db 100644
--- a/wsutil/wsjsmn.h
+++ b/wsutil/wsjsmn.h
@@ -28,6 +28,8 @@
#include "ws_symbol_export.h"
#include <glib.h>
+#include "jsmn.h"
+
#ifdef __cplusplus
extern "C" {
#endif
@@ -37,6 +39,8 @@ extern "C" {
*/
WS_DLL_PUBLIC gboolean jsmn_is_json(const guint8* buf, const size_t len);
+WS_DLL_PUBLIC int wsjsmn_parse(const char *buf, jsmntok_t *tokens, unsigned int max_tokens);
+
#ifdef __cplusplus
}
#endif