17 #include <drizzled/plugin/function.h>
19 #include "plugin/gearman_udf/gman_servers_set.h"
20 #include "plugin/gearman_udf/gman_do.h"
25 plugin::Create_function<Item_func_gman_servers_set> *gman_servers_set= NULL;
26 plugin::Create_function<Item_func_gman_do> *gman_do= NULL;
27 plugin::Create_function<Item_func_gman_do_high> *gman_do_high= NULL;
28 plugin::Create_function<Item_func_gman_do_low> *gman_do_low= NULL;
29 plugin::Create_function<Item_func_gman_do_background> *gman_do_background= NULL;
30 plugin::Create_function<Item_func_gman_do_high_background>
31 *gman_do_high_background= NULL;
32 plugin::Create_function<Item_func_gman_do_low_background>
33 *gman_do_low_background= NULL;
37 gman_servers_set=
new plugin::Create_function<Item_func_gman_servers_set>(
"gman_servers_set");
38 gman_do=
new plugin::Create_function<Item_func_gman_do>(
"gman_do");
39 gman_do_high=
new plugin::Create_function<Item_func_gman_do_high>(
"gman_do_high");
40 gman_do_low=
new plugin::Create_function<Item_func_gman_do_low>(
"gman_do_low");
41 gman_do_background=
new plugin::Create_function<Item_func_gman_do_background>(
"gman_do_background");
42 gman_do_high_background=
new plugin::Create_function<Item_func_gman_do_high_background>(
"gman_do_high_background");
43 gman_do_low_background=
new plugin::Create_function<Item_func_gman_do_low_background>(
"gman_do_low_background");
44 context.add(gman_servers_set);
46 context.add(gman_do_high);
47 context.add(gman_do_low);
48 context.add(gman_do_background);
49 context.add(gman_do_high_background);
50 context.add(gman_do_low_background);
54 DRIZZLE_DECLARE_PLUGIN
62 gearman_udf_plugin_init,
66 DRIZZLE_DECLARE_PLUGIN_END;
TODO: Rename this file - func.h is stupid.