~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; 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
 */
1 by brian
clean slate
20
21
/*  Extra functions used by unireg library */
22
670.2.4 by Monty Taylor
Removed more stuff from the headers.
23
#ifndef DRIZZLED_UNIREG_H
24
#define DRIZZLED_UNIREG_H
25
26
#include <drizzled/structs.h>				/* All structs we need */
27
28
void unireg_end(void) __attribute__((noreturn));
29
void unireg_abort(int exit_code) __attribute__((noreturn));
30
31
int rea_create_table(Session *session, const char *path,
32
                     const char *db, const char *table_name,
1008.3.20 by Stewart Smith
Put table_name into table proto in parser, and use that when creating table proto file.
33
                     drizzled::message::Table *table_proto,
670.2.4 by Monty Taylor
Removed more stuff from the headers.
34
                     HA_CREATE_INFO *create_info,
1052.2.3 by Nathan Williams
No actual code changes. Changed Create_field to CreateField to be consistent with coding standards.
35
                     List<CreateField> &create_field,
1095.3.8 by Stewart Smith
refactor rea_create_table to only have one call to create_table_proto_file and not have a is_like parameter which was only used in one place
36
                     uint32_t key_count,KEY *key_info);
670.2.4 by Monty Taylor
Removed more stuff from the headers.
37
38
1014.6.1 by Joe Daly
Merge duplication between unireg.h and definitions.h
39
#endif /* DRIZZLED_UNIREG_H */