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
sasl_defs.h
1
#ifndef SASL_DEFS_H
2
#define SASL_DEFS_H 1
3
4
// Longest one I could find was ``9798-U-RSA-SHA1-ENC''
5
#define MAX_SASL_MECH_LEN 32
6
7
#if defined(ENABLE_MEMCACHED_SASL)
8
#define ENABLE_SASL 1
9
#define SASL_ENABLED 1
10
# if defined(ENABLE_MEMCACHED_SASL_PWDB)
11
# define ENABLE_SASL_PWDB
12
# endif
/* ENABLE_MEMCACHED_SASL_PWDB */
13
#endif
/* ENABLE_MEMCACHED_SASL */
14
15
16
#if defined(HAVE_SASL_SASL_H) || defined(ENABLE_ISASL)
17
#define HAVE_SASL_HDR 1
18
#else
19
#define HAVE_SASL_HDR 0
20
#endif
/* have some kind of sasl header */
21
22
#if defined(HAVE_SASL_SASL_H) && defined(ENABLE_SASL)
23
24
#include <sasl/sasl.h>
25
void
init_sasl(
void
);
26
#define shutdown_sasl()
27
28
#elif defined(ENABLE_ISASL)
29
30
#include "isasl.h"
31
void
init_sasl(
void
);
32
void
shutdown_sasl(
void
);
33
#else
/* End of SASL support */
34
35
typedef
void
*
sasl_conn_t
;
36
37
#define shutdown_sasl()
38
#define init_sasl() {}
39
#define sasl_dispose(x) {}
40
#define sasl_server_new(a, b, c, d, e, f, g, h) 1
41
#define sasl_listmech(a, b, c, d, e, f, g, h) 1
42
#define sasl_server_start(a, b, c, d, e, f) 1
43
#define sasl_server_step(a, b, c, d, e) 1
44
#define sasl_getprop(a, b, c) {}
45
46
#define SASL_OK 0
47
#define SASL_CONTINUE -1
48
49
#endif
/* sasl compat */
50
51
#endif
/* SASL_DEFS_H */
plugin
innodb_memcached
daemon_memcached
daemon
sasl_defs.h
Generated on Sat Nov 9 2013 01:25:12 for MySQL 5.6.14 Source Code Document by
1.8.1.2