Drizzled Public API Documentation

dict0types.h
Go to the documentation of this file.
00001 /*****************************************************************************
00002 
00003 Copyright (C) 1996, 2009, Innobase Oy. All Rights Reserved.
00004 
00005 This program is free software; you can redistribute it and/or modify it under
00006 the terms of the GNU General Public License as published by the Free Software
00007 Foundation; version 2 of the License.
00008 
00009 This program is distributed in the hope that it will be useful, but WITHOUT
00010 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
00011 FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
00012 
00013 You should have received a copy of the GNU General Public License along with
00014 this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
00015 St, Fifth Floor, Boston, MA 02110-1301 USA
00016 
00017 *****************************************************************************/
00018 
00019 /**************************************************/
00026 #pragma once
00027 #ifndef dict0types_h
00028 #define dict0types_h
00029 
00030 typedef struct dict_sys_struct    dict_sys_t;
00031 typedef struct dict_col_struct    dict_col_t;
00032 typedef struct dict_field_struct  dict_field_t;
00033 typedef struct dict_index_struct  dict_index_t;
00034 typedef struct dict_table_struct  dict_table_t;
00035 typedef struct dict_foreign_struct  dict_foreign_t;
00036 
00037 /* A cluster object is a table object with the type field set to
00038 DICT_CLUSTERED */
00039 
00040 typedef dict_table_t      dict_cluster_t;
00041 
00042 typedef struct ind_node_struct    ind_node_t;
00043 typedef struct tab_node_struct    tab_node_t;
00044 
00045 /* Space id and page no where the dictionary header resides */
00046 #define DICT_HDR_SPACE    0 /* the SYSTEM tablespace */
00047 #define DICT_HDR_PAGE_NO  FSP_DICT_HDR_PAGE_NO
00048 
00049 typedef ib_id_t   table_id_t;
00050 typedef ib_id_t   index_id_t;
00051 
00052 #endif