File: drbdmeta_parser.h

package info (click to toggle)
drbd-utils 9.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 5,388 kB
  • sloc: ansic: 43,698; xml: 15,968; cpp: 7,783; sh: 3,699; makefile: 1,353; perl: 353
file content (47 lines) | stat: -rw-r--r-- 758 bytes parent folder | download | duplicates (7)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
typedef union YYSTYPE {
  char* txt;
  uint64_t   u64;
} YYSTYPE;

#define YYSTYPE_IS_DECLARED 1
#define YYSTYPE_IS_TRIVIAL 1
#define YY_NO_UNPUT 1

extern YYSTYPE yylval;
extern int yylineno;

enum yytokentype {
	TK_STRING = 258,
	TK_U64,
	TK_U32,
	TK_NUM,
	TK_GC,
	TK_BM,
	TK_UUID,
	TK_VERSION,
	TK_LA_SIZE,
	TK_BM_BYTE_PER_BIT,
	TK_DEVICE_UUID,
	TK_TIMES,
	TK_FLAGS,
	TK_INVALID,
	TK_INVALID_CHAR,
	TK_LA_BIO_SIZE,
	TK_NODE_ID,
	TK_BITMAP_INDEX,
	TK_CURRENT_UUID,
	TK_BITMAP,
	TK_BITMAP_UUID,
	TK_BITMAP_DAGTAG,
	TK_HISTORY_UUIDS,
	TK_PEER,
	TK_HASH,
	TK_MAX_PEERS,
	TK_AL_STRIPES,
	TK_AL_STRIPE_SIZE_4K,
};

/* avoid compiler warnings about implicit declaration */
int yylex(void);
void yyrestart (FILE *input_file);
int my_yy_unscaned_characters(void);