-
Notifications
You must be signed in to change notification settings - Fork 5
/
parse.h
15 lines (15 loc) · 870 Bytes
/
parse.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef JANSSONPATH_PARSE
#define JANSSONPATH_PARSE
// functions for parsing
const char *jassonpath_match_string(const char *begin, const char *end);
const char *jassonpath_next_delima(const char *begin, const char *end);
const char *jassonpath_next_matched_bracket(const char *begin, const char *end,
char left, char right);
const char *jassonpath_next_seprator(const char *begin, const char *end,
char sep);
const char *jassonpath_strdup_no_terminal(const char *begin, const char *end);
const char *jassonpath_next_punctor_outside_para(const char *begin,
const char *end, char sep);
const char *jassonpath_next_punctors_outside_para(const char *begin,
const char *end, char *sep);
#endif