projects
/
clsql.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove old windows .dll files from source
[clsql.git]
/
db-odbc
/
odbc-ff-interface.lisp
diff --git
a/db-odbc/odbc-ff-interface.lisp
b/db-odbc/odbc-ff-interface.lisp
index 2ae944d76a8b41f947e8bc7f0f21fc2d6c3fc853..0fa0824f008ef5bb68a9b062a0032a7a055cc800 100644
(file)
--- a/
db-odbc/odbc-ff-interface.lisp
+++ b/
db-odbc/odbc-ff-interface.lisp
@@
-6,8
+6,6
@@
;;;; Purpose: Function definitions for UFFI interface to ODBC
;;;; Author: Kevin M. Rosenberg
;;;;
;;;; Purpose: Function definitions for UFFI interface to ODBC
;;;; Author: Kevin M. Rosenberg
;;;;
-;;;; $Id$
-;;;;
;;;; This file, part of CLSQL, is Copyright (c) 2004 by Kevin M. Rosenberg
;;;; and Copyright (C) Paul Meurer 1999 - 2001. All rights reserved.
;;;;
;;;; This file, part of CLSQL, is Copyright (c) 2004 by Kevin M. Rosenberg
;;;; and Copyright (C) Paul Meurer 1999 - 2001. All rights reserved.
;;;;
@@
-23,7
+21,7
@@
(def-foreign-type string-ptr (* :unsigned-char))
(def-type long-ptr-type (* #.$ODBC-LONG-TYPE))
(def-foreign-type string-ptr (* :unsigned-char))
(def-type long-ptr-type (* #.$ODBC-LONG-TYPE))
-;;
odbc v
3
+;;
ODBC
3
(def-function "SQLAllocHandle"
((handle-type :short)
(input-handle sql-handle)
(def-function "SQLAllocHandle"
((handle-type :short)
(input-handle sql-handle)
@@
-31,6
+29,14
@@
:module "odbc"
:returning :short)
:module "odbc"
:returning :short)
+;; ODBC3 version of SQLFreeStmt, SQLFreeConnect, and SSQLFreeStmt
+(def-function "SQLFreeHandle"
+ ((handle-type :short) ; HandleType
+ (input-handle sql-handle)) ; Handle
+ :module "odbc"
+ :returning :short) ; RETCODE_SQL_API
+
+
;; deprecated
(def-function "SQLAllocEnv"
((*phenv sql-handle-ptr) ; HENV FAR *phenv
;; deprecated
(def-function "SQLAllocEnv"
((*phenv sql-handle-ptr) ; HENV FAR *phenv
@@
-76,6
+82,13
@@
:module "odbc"
:returning :short) ; RETCODE_SQL_API
:module "odbc"
:returning :short) ; RETCODE_SQL_API
+
+;;deprecated
+(def-function "SQLFreeConnect"
+ ((hdbc sql-handle)) ; HDBC hdbc
+ :module "odbc"
+ :returning :short) ; RETCODE_SQL_API
+
;; deprecated
(def-function "SQLAllocStmt"
((hdbc sql-handle) ; HDBC hdbc
;; deprecated
(def-function "SQLAllocStmt"
((hdbc sql-handle) ; HDBC hdbc