MySQL 5.6.14 Source Code Document
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
config_parser.h
1
#ifndef CONFIG_PARSER_H
2
#define CONFIG_PARSER_H
3
4
#include <stdint.h>
5
#include <stdio.h>
6
#include <memcached/visibility.h>
7
8
#ifdef __cplusplus
9
extern
"C"
{
10
#endif
11
15
enum
config_datatype {
16
DT_SIZE,
17
DT_FLOAT,
18
DT_BOOL,
19
DT_STRING,
20
DT_CONFIGFILE
21
};
22
26
union
config_value
{
27
size_t
*dt_size;
28
float
*dt_float;
29
bool
*dt_bool;
30
char
**dt_string;
31
};
32
36
struct
config_item
{
38
const
char
*
key
;
40
enum
config_datatype
datatype
;
42
union
config_value
value
;
44
bool
found
;
45
};
46
58
MEMCACHED_PUBLIC_API
int
parse_config(
const
char
*str,
struct
config_item
items
[], FILE *error);
59
60
#ifdef __cplusplus
61
}
62
#endif
63
64
#endif
plugin
innodb_memcached
daemon_memcached
include
memcached
config_parser.h
Generated on Sat Nov 9 2013 01:25:12 for MySQL 5.6.14 Source Code Document by
1.8.1.2