~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/unireg.h

  • Committer: Brian Aker
  • Date: 2009-07-16 22:37:01 UTC
  • mto: This revision was merged to the branch mainline in revision 1100.
  • Revision ID: brian@gaz-20090716223701-vbbbo8dmgd2ljqqo
Refactor TableShare has to be behind class.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#ifndef DRIZZLED_UNIREG_H
24
24
#define DRIZZLED_UNIREG_H
25
25
 
26
 
namespace drizzled
27
 
{
 
26
#include <drizzled/structs.h>                           /* All structs we need */
 
27
#include <drizzled/message/table.pb.h>
 
28
int drizzle_read_table_proto(const char* path, drizzled::message::Table* table);
 
29
int table_proto_exists(const char *path);
 
30
int copy_table_proto_file(const char *from, const char* to);
28
31
 
29
32
void unireg_end(void) __attribute__((noreturn));
30
33
void unireg_abort(int exit_code) __attribute__((noreturn));
31
34
 
32
 
} /* namespace drizzled */
 
35
int rea_create_table(Session *session, const char *path,
 
36
                     const char *db, const char *table_name,
 
37
                     drizzled::message::Table *table_proto,
 
38
                     HA_CREATE_INFO *create_info,
 
39
                     List<CreateField> &create_field,
 
40
                     uint32_t key_count,KEY *key_info,
 
41
                     bool is_like);
 
42
 
33
43
 
34
44
#endif /* DRIZZLED_UNIREG_H */