2
* PROGRAM: C preprocessor
4
* DESCRIPTION: DSQL definitions for non-DSQL modules
6
* The contents of this file are subject to the Interbase Public
7
* License Version 1.0 (the "License"); you may not use this file
8
* except in compliance with the License. You may obtain a copy
9
* of the License at http://www.Inprise.com/IPL.html
11
* Software distributed under the License is distributed on an
12
* "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express
13
* or implied. See the License for the specific language governing
14
* rights and limitations under the License.
16
* The Original Code was created by Inprise Corporation
17
* and its predecessors. Portions created by Inprise Corporation are
18
* Copyright (C) Inprise Corporation.
20
* All Rights Reserved.
21
* Contributor(s): ______________________________________.
29
const USHORT DIALECT_sqlda = 0;
30
const USHORT DIALECT_xsqlda = 1;
38
SSHORT sqlname_length;
51
#define SQLDA_LENGTH(n) (sizeof (SQLDA) + (n - 1) * sizeof (SQLVAR))
53
// Structure to support conversion of SQLDA's to messages
61
USHORT dasup_blr_length;
62
USHORT dasup_blr_buf_len;
63
USHORT dasup_msg_buf_len;
65
SCHAR* dasup_info_buf;
66
USHORT dasup_info_len;
69
USHORT dasup_dialect; // Dialect associated with statement
70
USHORT dasup_stmt_type; // Type of statement
74
// enum would be troblesome here
75
const USHORT DASUP_CLAUSE_select = 0;
76
const USHORT DASUP_CLAUSE_bind = 1;
78
#include "../dsql/sqlda_pub.h"
80
#endif // DSQL_SQLDA_H