summaryrefslogtreecommitdiff
path: root/cpp/demo/Database/Oracle/proc/Util.h
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2006-08-10 18:36:30 +0000
committerBernard Normier <bernard@zeroc.com>2006-08-10 18:36:30 +0000
commit667420c66b32e2200fd15c57e108a35d40499d48 (patch)
tree11c38ec276c28932ce631189954d25472031a2cc /cpp/demo/Database/Oracle/proc/Util.h
parentremove redundant batch labels (diff)
downloadice-667420c66b32e2200fd15c57e108a35d40499d48.tar.bz2
ice-667420c66b32e2200fd15c57e108a35d40499d48.tar.xz
ice-667420c66b32e2200fd15c57e108a35d40499d48.zip
Oracle Pro*C demo
Diffstat (limited to 'cpp/demo/Database/Oracle/proc/Util.h')
-rw-r--r--cpp/demo/Database/Oracle/proc/Util.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/cpp/demo/Database/Oracle/proc/Util.h b/cpp/demo/Database/Oracle/proc/Util.h
new file mode 100644
index 00000000000..5966097665e
--- /dev/null
+++ b/cpp/demo/Database/Oracle/proc/Util.h
@@ -0,0 +1,22 @@
+// **********************************************************************
+//
+// Copyright (c) 2003-2006 ZeroC, Inc. All rights reserved.
+//
+// This copy of Ice is licensed to you under the terms described in the
+// ICE_LICENSE file included in this distribution.
+//
+// **********************************************************************
+
+#ifndef UTIL_H
+#define UTIL_H
+
+#include <string>
+#include <sqlca.h>
+
+void handleSqlError(const struct sqlca&, sql_context);
+
+int decodeName(const std::string&);
+
+std::string encodeName(int);
+
+#endif