Logo Search packages:      
Sourcecode: odccm version File versions  Download package

odccm-connection-broker.h

/*
 * Copyright (C) 2006 Ole André Vadla Ravnås <oleavr@gmail.com>
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */

#ifndef ODCCM_CONNECTION_BROKER_H
#define ODCCM_CONNECTION_BROKER_H

#include <glib-object.h>

G_BEGIN_DECLS

typedef struct _OdccmConnectionBroker OdccmConnectionBroker;
typedef struct _OdccmConnectionBrokerClass OdccmConnectionBrokerClass;

00029 struct _OdccmConnectionBroker
{
  GObject parent;
};

00034 struct _OdccmConnectionBrokerClass
{
  GObjectClass parent_class;
};

GType odccm_connection_broker_get_type (void);

#define ODCCM_TYPE_CONNECTION_BROKER \
    (odccm_connection_broker_get_type())
#define ODCCM_CONNECTION_BROKER(obj) \
    (G_TYPE_CHECK_INSTANCE_CAST((obj), ODCCM_TYPE_CONNECTION_BROKER, OdccmConnectionBroker))
#define ODCCM_CONNECTION_BROKER_CLASS(klass) \
    (G_TYPE_CHECK_CLASS_CAST((klass), ODCCM_TYPE_CONNECTION_BROKER, OdccmConnectionBrokerClass))
#define ODCCM_IS_CONNECTION_BROKER(obj) \
    (G_TYPE_CHECK_INSTANCE_TYPE((obj), ODCCM_TYPE_CONNECTION_BROKER))
#define ODCCM_IS_CONNECTION_BROKER_CLASS(klass) \
    (G_TYPE_CHECK_CLASS_TYPE((klass), ODCCM_TYPE_CONNECTION_BROKER))
#define ODCCM_CONNECTION_BROKER_GET_CLASS(obj) \
    (G_TYPE_INSTANCE_GET_CLASS((obj), ODCCM_TYPE_CONNECTION_BROKER, OdccmConnectionBrokerClass))

void _odccm_connection_broker_take_connection (OdccmConnectionBroker *self, GConn *conn);

G_END_DECLS

#endif /* ODCCM_CONNECTION_BROKER_H */

Generated by  Doxygen 1.6.0   Back to index