summaryrefslogtreecommitdiff
path: root/python/modules/IcePy/Connection.h
blob: 14594abc166919e15b9c208194a3baed6896b752 (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
25
26
27
28
29
// **********************************************************************
//
// Copyright (c) 2003-2018 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 ICEPY_CONNECTION_H
#define ICEPY_CONNECTION_H

#include <Config.h>
#include <Ice/ConnectionF.h>
#include <Ice/CommunicatorF.h>

namespace IcePy
{

bool initConnection(PyObject*);

PyObject* createConnection(const Ice::ConnectionPtr&, const Ice::CommunicatorPtr&);

bool checkConnection(PyObject*);
bool getConnectionArg(PyObject*, const std::string&, const std::string&, Ice::ConnectionPtr&);

}

#endif