Home
last modified time | relevance | path

Searched refs:query_pattern (Results 1 – 1 of 1) sorted by relevance

/net-tools-latest/libcoap/src/
Dresource.c177 str resource_param = { 0, NULL }, query_pattern = { 0, NULL }; local
212 query_pattern.s =
216 query_pattern.length =
219 if ((query_pattern.s[0] == '/') && ((flags & MATCH_URI) == MATCH_URI)) {
220 query_pattern.s++;
221 query_pattern.length--;
224 if (query_pattern.length &&
225 query_pattern.s[query_pattern.length-1] == '*') {
226 query_pattern.length--;
239 if (!match(&r->uri, &query_pattern, (flags & MATCH_PREFIX) != 0, (flags & MATCH_SUBSTRING) != 0))
[all …]