~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/create.h

Merged Nathan from lp:~nlws/drizzle/fix-string-c-ptr-overrun

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#define DRIZZLE_SERVER_ITEM_CREATE_H
24
24
 
25
25
#include <drizzled/item/func.h>
26
 
 
27
 
struct udf_func;
 
26
#include <drizzled/function/create.h>
28
27
 
29
28
/**
30
29
  Public function builder interface.
111
110
 
112
111
/**
113
112
  Find the native function builder associated with a given function name.
114
 
  @param session The current thread
115
113
  @param name The native function name
116
114
  @return The native function builder associated with the name, or NULL
117
115
*/
118
 
extern Create_func * find_native_function_builder(Session *session, LEX_STRING name);
 
116
extern Create_func * find_native_function_builder(LEX_STRING name);
119
117
 
120
118
 
121
119
/**
142
140
    @param item_list The list of arguments to the function, can be NULL
143
141
    @return An item representing the parsed function call
144
142
  */
145
 
  Item *create(Session *session, udf_func *fct, List<Item> *item_list);
 
143
  Item *create(Session *session, Function_builder *fct, List<Item> *item_list);
146
144
 
147
145
  /** Singleton. */
148
146
  static Create_udf_func s_singleton;