1405.3.2
by Jay Pipes
Add replication common header file. |
1 |
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
|
2 |
* vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
|
|
3 |
*
|
|
4 |
* Copyright (c) 2010 Jay Pipes
|
|
5 |
*
|
|
6 |
* Authors:
|
|
7 |
*
|
|
8 |
* Jay Pipes <jaypipes@gmail.com>
|
|
9 |
*
|
|
10 |
* This program is free software; you can redistribute it and/or modify
|
|
11 |
* it under the terms of the GNU General Public License as published by
|
|
12 |
* the Free Software Foundation; version 2 of the License.
|
|
13 |
*
|
|
14 |
* This program is distributed in the hope that it will be useful,
|
|
15 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
16 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
17 |
* GNU General Public License for more details.
|
|
18 |
*
|
|
19 |
* You should have received a copy of the GNU General Public License
|
|
20 |
* along with this program; if not, write to the Free Software
|
|
21 |
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
22 |
*/
|
|
23 |
||
24 |
#ifndef DRIZZLED_PLUGIN_REPLICATION_H
|
|
25 |
#define DRIZZLED_PLUGIN_REPLICATION_H
|
|
26 |
||
27 |
/**
|
|
28 |
* @file Common structs and enums for the replication API
|
|
29 |
*/
|
|
30 |
||
31 |
namespace drizzled |
|
32 |
{
|
|
33 |
||
34 |
namespace plugin |
|
35 |
{
|
|
36 |
||
1405.3.7
by Jay Pipes
Change to non-const Session reference in replication API. |
37 |
enum ReplicationReturnCode |
1405.3.2
by Jay Pipes
Add replication common header file. |
38 |
{
|
39 |
SUCCESS= 0, /* no error */ |
|
40 |
UNKNOWN_ERROR= 1 |
|
1405.3.7
by Jay Pipes
Change to non-const Session reference in replication API. |
41 |
};
|
1405.3.2
by Jay Pipes
Add replication common header file. |
42 |
|
43 |
} /* namespace plugin */ |
|
44 |
} /* namespace drizzled */ |
|
45 |
||
46 |
#endif /* DRIZZLED_PLUGIN_REPLICATION_H */ |