21 #ifndef BTL_OPENIB_INI_LEX_H_
22 #define BTL_OPENIB_INI_LEX_H_
24 #include "opal_config.h"
40 int btl_openib_ini_yylex(
void);
41 int btl_openib_ini_init_buffer(FILE *file);
43 extern FILE *btl_openib_ini_yyin;
44 extern bool btl_openib_ini_parse_done;
45 extern char *btl_openib_ini_yytext;
46 extern int btl_openib_ini_yynewlines;
51 #define YY_STACK_USED 0
52 #define YY_ALWAYS_INTERACTIVE 0
53 #define YY_NEVER_INTERACTIVE 0
56 #define YY_SKIP_YYWRAP 1
59 BTL_OPENIB_INI_PARSE_DONE,
60 BTL_OPENIB_INI_PARSE_ERROR,
62 BTL_OPENIB_INI_PARSE_NEWLINE,
63 BTL_OPENIB_INI_PARSE_SECTION,
64 BTL_OPENIB_INI_PARSE_EQUAL,
65 BTL_OPENIB_INI_PARSE_SINGLE_WORD,
66 BTL_OPENIB_INI_PARSE_VALUE,
68 BTL_OPENIB_INI_PARSE_MAX