00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #include <config.h>
00023
00024 #include <drizzled/plugin.h>
00025 #include <plugin/string_functions/functions.h>
00026
00027 using namespace drizzled;
00028
00029 static int init(drizzled::module::Context &context)
00030 {
00031 context.add(new plugin::Create_function<Item_func_elt>("elt"));
00032 context.add(new plugin::Create_function<Item_func_format>("format"));
00033 context.add(new plugin::Create_function<Item_func_quote>("quote"));
00034 context.add(new plugin::Create_function<drizzled::string_functions::Regex>("regex"));
00035
00036 return 0;
00037 }
00038
00039 DRIZZLE_DECLARE_PLUGIN
00040 {
00041 DRIZZLE_VERSION_ID,
00042 "String Functions",
00043 "1.0",
00044 "Brian Aker, Stewart Smith",
00045 "String Functions.",
00046 PLUGIN_LICENSE_GPL,
00047 init,
00048 NULL,
00049 NULL
00050 }
00051 DRIZZLE_DECLARE_PLUGIN_END;