/usr/include/namazu/parser.h is in libnmz7-dev 2.0.21-21.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | #ifndef _PARSER_H
#define _PARSER_H
#include "libnamazu.h" /* for NmzResult type */
/* definitions of operator */
#define AND_STRING "&"
#define OR_STRING "|"
#define NOT_STRING "!"
#define LP_STRING "("
#define RP_STRING ")"
/* also acceptable as word since v1.1.1 */
#define AND_STRING_ALT "and"
#define OR_STRING_ALT "or"
#define NOT_STRING_ALT "not"
#define AND_OP 1
#define NOT_OP 2
extern void nmz_init_parser(void);
extern NmzResult nmz_expr(void);
extern int nmz_is_query_op(const char *);
#endif /* _PARSER_H */
|