3
* Description: See "tuplelist.c"
5
* Important Note: This structure and its functions are ONLY used in building manual result
6
* sets for info functions (SQLTables, SQLColumns, etc.)
8
* Comments: See "notice.txt" for copyright and license information.
12
#ifndef __TUPLELIST_H__
13
#define __TUPLELIST_H__
17
struct TupleListClass_
21
TupleNode *list_start,
27
#define TL_get_num_tuples(x) (x->num_tuples)
29
/* Create a TupleList. Each tuple consits of fieldcnt columns */
30
TupleListClass *TL_Constructor(UInt4 fieldcnt);
31
void TL_Destructor(TupleListClass *self);
32
void *TL_get_fieldval(TupleListClass *self, Int4 tupleno, Int2 fieldno);
33
char TL_add_tuple(TupleListClass *self, TupleNode *new_field);