Default parsing function for token name matching. */
| 7739 | |
| 7740 | /** Default parsing function for token name matching. */ |
| 7741 | static int |
| 7742 | parse_default(struct context *ctx, const struct token *token, |
| 7743 | const char *str, unsigned int len, |
| 7744 | void *buf, unsigned int size) |
| 7745 | { |
| 7746 | (void)ctx; |
| 7747 | (void)buf; |
| 7748 | (void)size; |
| 7749 | if (strcmp_partial(token->name, str, len)) |
| 7750 | return -1; |
| 7751 | return len; |
| 7752 | } |
| 7753 | |
| 7754 | /** Parse flow command, initialize output buffer for subsequent tokens. */ |
| 7755 | static int |
no test coverage detected