~drizzle-trunk/drizzle/development

1802.12.1 by Brian Aker
This solves bug lp:654905
1
/* - mode: c; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
 *
4
 *  Copyright (C) 2010 Brian Aker
5
 *
6
 *  This program is free software; you can redistribute it and/or modify
7
 *  it under the terms of the GNU General Public License as published by
8
 *  the Free Software Foundation; either version 2 of the License, or
9
 *  (at your option) any later version.
10
 *
11
 *  This program is distributed in the hope that it will be useful,
12
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 *  GNU General Public License for more details.
15
 *
16
 *  You should have received a copy of the GNU General Public License
17
 *  along with this program; if not, write to the Free Software
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
 */
20
21
#ifndef DRIZZLED_MESSAGE_H
22
#define DRIZZLED_MESSAGE_H
23
24
#include "drizzled/message/table.pb.h"
25
#include "drizzled/message/schema.pb.h"
26
1812.3.8 by Brian Aker
This switches our schema system over to using a shared ptr. Lets see how
27
#include <boost/shared_ptr.hpp>
28
1802.12.1 by Brian Aker
This solves bug lp:654905
29
namespace drizzled {
30
namespace message {
31
32
void init(drizzled::message::Schema &arg, const std::string &name_arg);
33
void init(drizzled::message::Table &arg, const std::string &name_arg, const std::string &schema_arg, const std::string &engine_arg);
34
1802.12.2 by Brian Aker
Correcting alter schema to fix bug around schema not altering collate
35
void update(drizzled::message::Schema &arg);
36
void update(drizzled::message::Table &arg);
37
1812.3.8 by Brian Aker
This switches our schema system over to using a shared ptr. Lets see how
38
typedef boost::shared_ptr<drizzled::message::Schema> SchemaPtr;
39
1802.12.1 by Brian Aker
This solves bug lp:654905
40
} /* namespace message */
41
} /* namespace drizzled */
42
43
#endif /* DRIZZLED_MESSAGE_H */