Drizzled Public API Documentation

row0ext.h
Go to the documentation of this file.
1 /*****************************************************************************
2 
3 Copyright (C) 2006, 2009, Innobase Oy. All Rights Reserved.
4 
5 This program is free software; you can redistribute it and/or modify it under
6 the terms of the GNU General Public License as published by the Free Software
7 Foundation; version 2 of the License.
8 
9 This program is distributed in the hope that it will be useful, but WITHOUT
10 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11 FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12 
13 You should have received a copy of the GNU General Public License along with
14 this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
15 St, Fifth Floor, Boston, MA 02110-1301 USA
16 
17 *****************************************************************************/
18 
19 /**************************************************/
26 #pragma once
27 #ifndef row0ext_h
28 #define row0ext_h
29 
30 #include "univ.i"
31 #include "row0types.h"
32 #include "data0types.h"
33 #include "mem0mem.h"
34 
35 /********************************************************************/
38 UNIV_INTERN
39 row_ext_t*
41 /*===========*/
42  ulint n_ext,
43  const ulint* ext,
47  const dtuple_t* tuple,
53  ulint zip_size,
54  mem_heap_t* heap);
56 /********************************************************************/
60 UNIV_INLINE
61 const byte*
63 /*===============*/
64  const row_ext_t* ext,
65  ulint i,
66  ulint* len);
68 /********************************************************************/
72 UNIV_INLINE
73 const byte*
75 /*===========*/
76  const row_ext_t* ext,
77  ulint col,
81  ulint* len);
86  ulint n_ext;
87  const ulint* ext;
88  byte* buf;
89  ulint len[1];
90 };
91 
92 #ifndef UNIV_NONINL
93 #include "row0ext.ic"
94 #endif
95 
96 #endif
byte * buf
Definition: row0ext.h:88
UNIV_INTERN row_ext_t * row_ext_create(ulint n_ext, const ulint *ext, const dtuple_t *tuple, ulint zip_size, mem_heap_t *heap)
Definition: row0ext.cc:75
ulint len[1]
Definition: row0ext.h:89
ulint n_ext
Definition: row0ext.h:86
UNIV_INLINE const byte * row_ext_lookup_ith(const row_ext_t *ext, ulint i, ulint *len)
UNIV_INLINE const byte * row_ext_lookup(const row_ext_t *ext, ulint col, ulint *len)
const ulint * ext
Definition: row0ext.h:87