~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_udf.h

  • Committer: Monty Taylor
  • Date: 2008-11-07 00:15:51 UTC
  • mto: This revision was merged to the branch mainline in revision 579.
  • Revision ID: monty@inaugust.com-20081107001551-8vxb6sf1ti0i5p09
Cleaned up some headers for PCH.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
 
20
#ifndef DRIZZLED_SQL_UDF_H
 
21
#define DRIZZLED_SQL_UDF_H
 
22
 
20
23
/* This file defines structures needed by udf functions */
21
24
 
22
 
 
23
 
#include "item_func.h"
 
25
#include CSTDINT_H
 
26
#include <drizzled/item_func.h>
24
27
 
25
28
enum Item_udftype {UDFTYPE_FUNCTION=1,UDFTYPE_AGGREGATE};
26
29
 
36
39
udf_func *find_udf(const char *name, uint32_t len=0);
37
40
void free_udf(udf_func *udf);
38
41
int mysql_create_function(Session *session,udf_func *udf);
 
42
 
 
43
#endif /* DRIZZLED_SQL_UDF_H */