39
39
#include <drizzled/lex_string.h>
40
40
#include <mysys/my_alloc.h>
41
#include <drizzled/plugin_registry.h>
42
#include <drizzled/plugin.h>
46
the following flags are valid for plugin_init()
48
#define PLUGIN_INIT_SKIP_DYNAMIC_LOADING 1
49
#define PLUGIN_INIT_SKIP_PLUGIN_TABLE 2
50
#define PLUGIN_INIT_SKIP_INITIALIZATION 4
52
#define INITIAL_LEX_PLUGIN_LIST_SIZE 16
55
the following #define adds server-only members to enum_mysql_show_type,
56
that is defined in plugin.h
58
#define SHOW_FUNC SHOW_FUNC, SHOW_KEY_CACHE_LONG, SHOW_KEY_CACHE_LONGLONG, \
59
SHOW_LONG_STATUS, SHOW_DOUBLE_STATUS, SHOW_HAVE, \
60
SHOW_MY_BOOL, SHOW_HA_ROWS, SHOW_SYS, SHOW_INT_NOFLUSH, \
62
#include <drizzled/plugin.h>
64
typedef enum enum_mysql_show_type SHOW_TYPE;
65
typedef struct st_mysql_show_var SHOW_VAR;
67
48
/* A handle for the dynamic library containing a plugin or plugins. */
68
49
struct drizzled_plugin_manifest;
92
73
#define plugin_name(pi) (&((pi)->name))
93
74
#define plugin_equals(p1,p2) ((p1) && (p2) && (p1) == (p2))
95
#include <drizzled/plugin_registry.h>
97
77
typedef int (*plugin_type_init)(PluginRegistry &);