Drizzled Public API Documentation

eval0eval.h
Go to the documentation of this file.
1 /*****************************************************************************
2 
3 Copyright (C) 1997, 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 /**************************************************/
27 #pragma once
28 #ifndef eval0eval_h
29 #define eval0eval_h
30 
31 #include "univ.i"
32 #include "que0types.h"
33 #include "pars0sym.h"
34 #include "pars0pars.h"
35 
36 /*****************************************************************/
40 UNIV_INTERN
41 void
42 eval_node_free_val_buf(
43 /*===================*/
44  que_node_t* node);
45 /*****************************************************************/
47 UNIV_INLINE
48 void
49 eval_sym(
50 /*=====*/
51  sym_node_t* sym_node);
52 /*****************************************************************/
54 UNIV_INLINE
55 void
56 eval_exp(
57 /*=====*/
58  que_node_t* exp_node);
59 /*****************************************************************/
61 UNIV_INLINE
62 void
64 /*==================*/
65  que_node_t* node,
66  lint val);
67 /*****************************************************************/
70 UNIV_INLINE
71 lint
73 /*==================*/
74  que_node_t* node);
75 /*****************************************************************/
78 UNIV_INLINE
79 void
81 /*=========================*/
82  que_node_t* node,
83  const byte* str,
84  ulint len);
85 /*****************************************************************/
87 UNIV_INLINE
88 void
90 /*===============*/
91  que_node_t* node1,
92  que_node_t* node2);
93 /*****************************************************************/
96 UNIV_INLINE
97 ibool
99 /*====================*/
100  que_node_t* node);
101 /*****************************************************************/
104 UNIV_INTERN
105 ibool
106 eval_cmp(
107 /*=====*/
108  func_node_t* cmp_node);
111 #ifndef UNIV_NONINL
112 #include "eval0eval.ic"
113 #endif
114 
115 #endif