Add some basic opcode
This commit is contained in:
parent
59e6997959
commit
a41c9187ac
2 changed files with 3 additions and 0 deletions
|
@ -174,4 +174,6 @@ route * r3_tree_match_route(const node *n, match_entry * entry);
|
||||||
#define METHOD_HEAD 2<<5
|
#define METHOD_HEAD 2<<5
|
||||||
#define METHOD_OPTIONS 2<<6
|
#define METHOD_OPTIONS 2<<6
|
||||||
|
|
||||||
|
enum { OP_EXPECT_DIGITS, OP_EXPECT_WORDS, OP_EXPECT_NOSLASH };
|
||||||
|
|
||||||
#endif /* !R3_NODE_H */
|
#endif /* !R3_NODE_H */
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
#include "str_array.h"
|
#include "str_array.h"
|
||||||
#include "zmalloc.h"
|
#include "zmalloc.h"
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* provide a quick way to count slugs, simply search for '{'
|
* provide a quick way to count slugs, simply search for '{'
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue