~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/function.h

  • Committer: Brian Aker
  • Date: 2009-10-02 19:38:12 UTC
  • mfrom: (1152.1.7 merge)
  • Revision ID: brian@gaz-20091002193812-mpd61oecep74t6gd
Merge Monty + Brian for plugins.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#include <drizzled/item.h>
25
25
#include <drizzled/sql_list.h>
26
26
#include <drizzled/item/bin_string.h>
 
27
#include "drizzled/function/func.h"
 
28
 
27
29
 
28
30
#include <string>
29
31
#include <vector>
62
64
  {
63
65
    aliases.push_back(alias);
64
66
  }
 
67
 
 
68
  /**
 
69
   * Add a new Function factory to the list of factories we manage.
 
70
   */
 
71
  static bool addPlugin(const plugin::Function *function_obj);
 
72
 
 
73
  /**
 
74
   * Remove a Function factory from the list of factory we manage.
 
75
   */
 
76
  static void removePlugin(const plugin::Function *function_obj);
 
77
 
 
78
  /**
 
79
   * Accept a new connection (Protocol object) on one of the configured
 
80
   * listener interfaces.
 
81
   */
 
82
  static const plugin::Function *get(const char *name, size_t len=0);
 
83
 
65
84
};
66
85
 
67
86
template<class T>