diff options
Diffstat (limited to 'cpp/demo/Database/Oracle/proc/Util.h')
-rw-r--r-- | cpp/demo/Database/Oracle/proc/Util.h | 24 |
1 files changed, 24 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..cadda7e001c --- /dev/null +++ b/cpp/demo/Database/Oracle/proc/Util.h @@ -0,0 +1,24 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2011 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 <Ice/Ice.h> +#include <string> +#include <sqlca.h> + +void handleSqlError(const sqlca&, sql_context); +void handleNotFound(const Ice::Current&, sql_context); + +int decodeName(const std::string&); + +std::string encodeName(int); + +#endif |