From 0abb38c66912f53a7cdf48c697cb3fa7f4aa6cd1 Mon Sep 17 00:00:00 2001 From: Constantin Michael Date: Tue, 27 Sep 2011 13:47:53 +0200 Subject: Add our own national character buffer type identifiers --- odb/oracle/oracle-fwd.hxx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/odb/oracle/oracle-fwd.hxx b/odb/oracle/oracle-fwd.hxx index bc400d1..a0cd2ed 100644 --- a/odb/oracle/oracle-fwd.hxx +++ b/odb/oracle/oracle-fwd.hxx @@ -24,6 +24,15 @@ typedef struct OCIStmt OCIStmt; typedef struct OCIAuthInfo OCIAuthInfo; typedef struct OCITrans OCITrans; +// Define an external type identifier for the national character types. +// These are used exclusively for identifying national character encoded +// buffers while setting the character set form of an OCIBind or OCIDefine +// handle. They are never passed to the OCI API. +// +extern ub2 SQLT_NCHAR; +extern ub2 SQLT_NVARCHAR2; +extern ub2 SQLT_NCLOB; + #include #endif // ODB_ORACLE_ORACLE_FWD_HXX -- cgit v1.1