]> git.sur5r.net Git - openldap/blob - servers/slapd/back-sql/sql-types.h
d51f07019ec2c473fb2b9052fee70c012df27a3b
[openldap] / servers / slapd / back-sql / sql-types.h
1 /* $OpenLDAP$ */
2 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
3  *
4  * Copyright 1999-2003 The OpenLDAP Foundation.
5  * Portions Copyright 1999 Dmitry Kovalev.
6  * All rights reserved.
7  *
8  * Redistribution and use in source and binary forms, with or without
9  * modification, are permitted only as authorized by the OpenLDAP
10  * Public License.
11  *
12  * A copy of this license is available in the file LICENSE in the
13  * top-level directory of the distribution or, alternatively, at
14  * <http://www.OpenLDAP.org/license.html>.
15  */
16 /* ACKNOWLEDGEMENTS:
17  * This work was initially developed by Dmitry Kovalev for inclusion
18  * by OpenLDAP Software.
19  */
20 #ifndef __BACKSQL_SQL_TYPES_H__
21 #define __BACKSQL_SQL_TYPES_H__
22
23 #include <sql.h>
24 #include <sqlext.h>
25
26 typedef struct {
27         SWORD           ncols;
28         BerVarray       col_names;
29         UDWORD          *col_prec;
30         char            **cols;
31         SQLINTEGER      *value_len;
32 } BACKSQL_ROW_NTS;
33
34 #endif /* __BACKSQL_SQL_TYPES_H__ */
35