1
/* Copyright (C) 2003 MySQL AB
3
This program is free software; you can redistribute it and/or modify
4
it under the terms of the GNU General Public License as published by
5
the Free Software Foundation; version 2 of the License.
7
This program is distributed in the hope that it will be useful,
8
but WITHOUT ANY WARRANTY; without even the implied warranty of
9
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
GNU General Public License for more details.
12
You should have received a copy of the GNU General Public License
13
along with this program; if not, write to the Free Software
14
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA */
16
/************************************************************************************************
20
Author: UABRONM Mikael Ronstr�m UAB/B/SD
23
Description: Utility classes for NDB API
25
Adjust: 991029 UABRONM First version.
27
************************************************************************************************/
31
#include <ndb_global.h>
38
struct Free_list_element
40
Free_list_element() { theNext = 0;}
41
void next(T* obj) { theNext = obj;}
42
T* next() { return theNext;}
47
class NdbLabel : public Free_list_element<NdbLabel>
49
friend class NdbOperation;
56
Uint32 theSubroutine[16];
57
Uint32 theLabelAddress[16];
58
Uint32 theLabelNo[16];
61
class NdbSubroutine : public Free_list_element<NdbSubroutine>
63
friend class NdbOperation;
70
Uint32 theSubroutineAddress[16];
73
class NdbBranch : public Free_list_element<NdbBranch>
75
friend class NdbOperation;
82
NdbApiSignal* theSignal;
83
Uint32 theSignalAddress;
84
Uint32 theBranchAddress;
85
Uint32 theBranchLabel;
89
class NdbCall : public Free_list_element<NdbCall>
91
friend class NdbOperation;
98
NdbApiSignal* theSignal;
99
Uint32 theSignalAddress;
100
Uint32 theSubroutine;