3
* Description: See "bind.c"
5
* Comments: See "notice.txt" for copyright and license information.
15
* BindInfoClass -- stores information about a bound column
19
Int4 buflen; /* size of buffer */
20
Int4 data_left; /* amount of data left to read
22
char *buffer; /* pointer to the buffer */
23
Int4 *used; /* used space in the buffer (for strings
24
* not counting the '\0') */
25
char *ttlbuf; /* to save the large result */
26
Int4 ttlbuflen; /* the buffer length */
27
Int4 ttlbufused; /* used length of the buffer */
28
Int2 returntype; /* kind of conversion to be applied when
29
* returning (SQL_C_DEFAULT,
31
Int2 precision; /* the precision for numeric or timestamp type */
32
Int2 scale; /* the scale for numeric type */
36
* ParameterInfoClass -- stores information about a bound parameter
38
struct ParameterInfoClass_
46
Int4 *EXEC_used; /* amount of data */
47
char *EXEC_buffer; /* the data */
48
Int2 precision; /* the precision for numeric or timestamp type */
49
Int2 scale; /* the scale for numeric type */
54
* ParameterImplClass -- stores implemntation information about a parameter
56
struct ParameterImplClass_
63
Int2 precision; /* the precision for numeric or timestamp type */
64
Int2 scale; /* the scale for numeric type */
67
BindInfoClass *create_empty_bindings(int num_columns);
68
void extend_column_bindings(ARDFields *opts, int num_columns);
69
void reset_a_column_binding(ARDFields *opts, int icol);
70
void extend_parameter_bindings(APDFields *opts, int num_columns);
71
void extend_iparameter_bindings(IPDFields *opts, int num_columns);
72
void reset_a_parameter_binding(APDFields *opts, int ipar);
73
void reset_a_iparameter_binding(IPDFields *opts, int ipar);