~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/unireg.h

Merged fix-headers work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 
21
21
/*  Extra functions used by unireg library */
22
22
 
23
 
#ifndef _unireg_h
 
23
#ifndef DRIZZLED_UNIREG_H
 
24
#define DRIZZLED_UNIREG_H
 
25
 
 
26
#include <drizzled/structs.h>                           /* All structs we need */
 
27
 
 
28
#if defined(__cplusplus)
 
29
extern "C" {
 
30
#endif
24
31
 
25
32
#ifndef NO_ALARM_LOOP
26
33
#define NO_ALARM_LOOP           /* lib5 and popen can't use alarm */
149
156
#define COLUMN_FORMAT_MASK 7
150
157
#define COLUMN_FORMAT_SHIFT 3
151
158
 
152
 
/* Include prototypes for unireg */
153
 
 
154
 
#include "structs.h"                            /* All structs we need */
 
159
void unireg_init();
 
160
void unireg_end(void) __attribute__((noreturn));
 
161
void unireg_abort(int exit_code) __attribute__((noreturn));
 
162
 
 
163
bool mysql_create_frm(Session *session, const char *file_name,
 
164
                      const char *db, const char *table,
 
165
                      HA_CREATE_INFO *create_info,
 
166
                      List<Create_field> &create_field,
 
167
                      uint32_t key_count,KEY *key_info,handler *db_type);
 
168
int rea_create_table(Session *session, const char *path,
 
169
                     const char *db, const char *table_name,
 
170
                     HA_CREATE_INFO *create_info,
 
171
                     List<Create_field> &create_field,
 
172
                     uint32_t key_count,KEY *key_info,
 
173
                     handler *file);
 
174
 
 
175
 
 
176
#if defined(__cplusplus)
 
177
}
 
178
#endif
 
179
 
155
180
 
156
181
#endif