1 // 2 // Copyright (c) ZeroC, Inc. All rights reserved. 3 // 4 5 #ifndef ICEPY_ENDPOINT_H 6 #define ICEPY_ENDPOINT_H 7 8 #include <Config.h> 9 #include <Ice/Endpoint.h> 10 11 namespace IcePy 12 { 13 14 extern PyTypeObject EndpointType; 15 16 bool initEndpoint(PyObject*); 17 18 PyObject* createEndpoint(const Ice::EndpointPtr&); 19 Ice::EndpointPtr getEndpoint(PyObject*); 20 21 bool toEndpointSeq(PyObject*, Ice::EndpointSeq&); 22 23 } 24 25 #endif 26