aboutsummaryrefslogtreecommitdiff
path: root/odb/oracle/oracle-fwd.hxx
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-09-05 11:56:56 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-09-05 11:56:56 +0200
commit83d687748558cb4f138cecfff2ccbe5cbbc0d761 (patch)
treec5c7189dc6f623e618412b2c19eb498120b35a03 /odb/oracle/oracle-fwd.hxx
parent6eed6c47b07371349bd4c30daf2b305ff7f5b1d3 (diff)
Add Oracle/OCI forward declarations
Diffstat (limited to 'odb/oracle/oracle-fwd.hxx')
-rw-r--r--odb/oracle/oracle-fwd.hxx26
1 files changed, 26 insertions, 0 deletions
diff --git a/odb/oracle/oracle-fwd.hxx b/odb/oracle/oracle-fwd.hxx
new file mode 100644
index 0000000..96e8199
--- /dev/null
+++ b/odb/oracle/oracle-fwd.hxx
@@ -0,0 +1,26 @@
+// file : odb/oracle/oracle-fwd.hxx
+// author : Constantin Michael <constantin@codesynthesis.com>
+// copyright : Copyright (c) 2005-2011 Code Synthesis Tools CC
+// license : ODB NCUEL; see accompanying LICENSE file
+
+#ifndef ODB_ORACLE_ORACLE_FWD_HXX
+#define ODB_ORACLE_ORACLE_FWD_HXX
+
+#include <odb/pre.hxx>
+
+// Forward declaration for some of the types defined in oci.h. This
+// allows us to avoid having to include oci.h in public headers.
+//
+typedef signed int sword;
+typedef unsigned int ub4;
+
+typedef struct OCIEnv OCIEnv;
+typedef struct OCISvcCtx OCISvcCtx;
+typedef struct OCIError OCIError;
+typedef struct OCIStmt OCIStmt;
+typedef struct OCIAuthInfo OCIAuthInfo;
+typedef struct OCITrans OCITrans;
+
+#include <odb/post.hxx>
+
+#endif // ODB_ORACLE_ORACLE_FWD_HXX