%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/include/namazu/
Upload File :
Create Path :
Current File : //usr/local/include/namazu/parser.h

#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 */

Zerion Mini Shell 1.0