From 667420c66b32e2200fd15c57e108a35d40499d48 Mon Sep 17 00:00:00 2001 From: Bernard Normier Date: Thu, 10 Aug 2006 18:36:30 +0000 Subject: Oracle Pro*C demo --- cpp/demo/Database/Oracle/proc/Util.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 cpp/demo/Database/Oracle/proc/Util.h (limited to 'cpp/demo/Database/Oracle/proc/Util.h') 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 +#include + +void handleSqlError(const struct sqlca&, sql_context); + +int decodeName(const std::string&); + +std::string encodeName(int); + +#endif -- cgit v1.2.3