~drizzle-trunk/drizzle/development

390.1.2 by Monty Taylor
Fixed copyright headers in drizzled/
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
 *
4
 *  Copyright (C) 2008 Sun Microsystems
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; version 2 of the License.
9
 *
10
 *  This program is distributed in the hope that it will be useful,
11
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 *  GNU General Public License for more details.
14
 *
15
 *  You should have received a copy of the GNU General Public License
16
 *  along with this program; if not, write to the Free Software
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
 */
1 by brian
clean slate
19
438.1.10 by Brian Aker
Removed binlog tool (we need to rewrite it) and removed all the hooks for
20
#ifndef DRIZZLED_RPL_RECORD_H
21
#define DRIZZLED_RPL_RECORD_H
1 by brian
clean slate
22
575.4.6 by Monty Taylor
Removed my_getwd.
23
#include <drizzled/replication/reporting.h>
1 by brian
clean slate
24
327.1.5 by Brian Aker
Refactor around classes. TABLE_LIST has been factored out of table.h
25
size_t pack_row(Table* table, MY_BITMAP const* cols,
481 by Brian Aker
Remove all of uchar.
26
                unsigned char *row_data, const unsigned char *data);
1 by brian
clean slate
27
28
int unpack_row(Relay_log_info const *rli,
482 by Brian Aker
Remove uint.
29
               Table *table, uint32_t const colcnt,
481 by Brian Aker
Remove all of uchar.
30
               unsigned char const *const row_data, MY_BITMAP const *cols,
31
               unsigned char const **const row_end, ulong *const master_reclength);
1 by brian
clean slate
32
33
// Fill table's record[0] with default values.
482 by Brian Aker
Remove uint.
34
int prepare_record(Table *const, const MY_BITMAP *cols, uint32_t width, const bool);
1 by brian
clean slate
35
438.1.10 by Brian Aker
Removed binlog tool (we need to rewrite it) and removed all the hooks for
36
#endif /* DRIZZLED_RPL_RECORD_H */