~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin_errmsg.h

  • Committer: Mark Atwood
  • Date: 2008-10-07 10:08:29 UTC
  • mto: (520.1.13 drizzle)
  • mto: This revision was merged to the branch mainline in revision 530.
  • Revision ID: mark@fallenpegasus.com-20081007100829-4ix2nlju4tp55xhr
add hooks for errmsg plugin type

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
  Definitions required for Error Message plugin 
 
3
*/
 
4
 
 
5
#ifndef DRIZZLED_PLUGIN_ERRMSG_H
 
6
#define DRIZZLED_PLUGIN_ERRMSG_H
 
7
 
 
8
#include <stdarg.h>
 
9
 
 
10
typedef struct errmsg_st
 
11
{
 
12
  void (*errmsg_func)(THD *thd, int priority, const char *format, va_list ap);
 
13
} errmsg_t;
 
14
 
 
15
#endif /* DRIZZLED_PLUGIN_ERRMSG_H */