// Copyright (c) ZeroC, Inc.

#ifndef ICE_RUBY_CONNECTION_H
#define ICE_RUBY_CONNECTION_H

#include "Config.h"
#include "Ice/Connection.h"

namespace IceRuby
{
    void initConnection(VALUE);

    VALUE createConnection(const Ice::ConnectionPtr&);
    VALUE createConnectionInfo(const Ice::ConnectionInfoPtr&);

    Ice::ConnectionPtr getConnection(VALUE);
    bool checkConnection(VALUE);
}

#endif
