summaryrefslogtreecommitdiff
path: root/src/include/config.h
blob: 2ce280fbba10e3c649e3cf284c48422d830abbfc (plain)
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
/*-
 * Copyright (c) 2008-2012 WiredTiger, Inc.
 *	All rights reserved.
 *
 * See the file LICENSE for redistribution information.
 */

struct __wt_config {
	WT_SESSION_IMPL *session;
	const char *orig;
	const char *end;
	const char *cur;

	int depth, top;
	int8_t *go;
};

struct __wt_config_item {
	const char *str;
	size_t len;
	int64_t val;
	enum { ITEM_STRING, ITEM_ID, ITEM_NUM, ITEM_STRUCT } type;
};

struct __wt_config_check {
	const char *name;
	const char *type;
	const char *checks;
};