summaryrefslogtreecommitdiff
path: root/cpp/demo/Database/Oracle/proc/Util.h
blob: 0914ae0449d360e3264b37eef682b3281b2feb62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// **********************************************************************
//
// Copyright (c) 2003-2010 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