X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=db-odbc%2Fodbc-ff-interface.lisp;fp=db-odbc%2Fodbc-ff-interface.lisp;h=0fa0824f008ef5bb68a9b062a0032a7a055cc800;hp=68270c88e8dad839c1879b01cd5f285ca3df67ce;hb=d93955e3f6ad71eb27f334c50f997b4d351724c3;hpb=8d6b3157eb3b09316739a4a6f7b9dfc6844fa1f5 diff --git a/db-odbc/odbc-ff-interface.lisp b/db-odbc/odbc-ff-interface.lisp index 68270c8..0fa0824 100644 --- a/db-odbc/odbc-ff-interface.lisp +++ b/db-odbc/odbc-ff-interface.lisp @@ -21,7 +21,7 @@ (def-foreign-type string-ptr (* :unsigned-char)) (def-type long-ptr-type (* #.$ODBC-LONG-TYPE)) -;; odbc v3 +;; ODBC3 (def-function "SQLAllocHandle" ((handle-type :short) (input-handle sql-handle) @@ -29,6 +29,14 @@ :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 @@ -74,6 +82,13 @@ :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