499.2.1
by Mark Atwood
add hooks for errmsg plugin type |
1 |
/*
|
499.2.10
by Mark Atwood
add editor format hints, and other useful metadata comments |
2 |
-*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
|
3 |
* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
|
|
4 |
||
5 |
* Definitions required for Error Message plugin
|
|
6 |
||
7 |
* Copyright (C) 2008 Mark Atwood
|
|
8 |
*
|
|
9 |
* This program is free software; you can redistribute it and/or modify
|
|
10 |
* it under the terms of the GNU General Public License as published by
|
|
11 |
* the Free Software Foundation; version 2 of the License.
|
|
12 |
*
|
|
13 |
* This program is distributed in the hope that it will be useful,
|
|
14 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16 |
* GNU General Public License for more details.
|
|
17 |
*
|
|
18 |
* You should have received a copy of the GNU General Public License
|
|
19 |
* along with this program; if not, write to the Free Software
|
|
20 |
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
21 |
*/
|
|
499.2.1
by Mark Atwood
add hooks for errmsg plugin type |
22 |
|
23 |
#ifndef DRIZZLED_PLUGIN_ERRMSG_H
|
|
24 |
#define DRIZZLED_PLUGIN_ERRMSG_H
|
|
25 |
||
26 |
#include <stdarg.h> |
|
27 |
||
28 |
typedef struct errmsg_st |
|
29 |
{
|
|
520.1.22
by Brian Aker
Second pass of thd cleanup |
30 |
bool (*errmsg_func)(Session *session, int priority, const char *format, va_list ap); |
499.2.1
by Mark Atwood
add hooks for errmsg plugin type |
31 |
} errmsg_t; |
32 |
||
33 |
#endif /* DRIZZLED_PLUGIN_ERRMSG_H */ |