1 /* vi: set et sw=4 ts=4 cino=t0,(0: */
2 /* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
4 * This file is part of tlm
6 * Copyright (C) 2014 Intel Corporation.
8 * Contact: Imran Zaman <imran.zaman@intel.com>
10 * This library is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU Lesser General Public
12 * License as published by the Free Software Foundation; either
13 * version 2.1 of the License, or (at your option) any later version.
15 * This library is distributed in the hope that it will be useful, but
16 * WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * Lesser General Public License for more details.
20 * You should have received a copy of the GNU Lesser General Public
21 * License along with this library; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
26 #ifndef __TLM_DBUS_SERVER_P2P_H_
27 #define __TLM_DBUS_SERVER_P2P_H_
30 #include <glib-object.h>
35 #define TLM_TYPE_DBUS_SERVER_P2P (tlm_dbus_server_p2p_get_type())
36 #define TLM_DBUS_SERVER_P2P(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),\
37 TLM_TYPE_DBUS_SERVER_P2P, TlmDbusServerP2P))
38 #define TLM_DBUS_SERVER_P2P_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),\
39 TLM_TYPE_DBUS_SERVER_P2P, TlmDbusServerP2PClass))
40 #define TLM_IS_DBUS_SERVER_P2P(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),\
41 TLM_TYPE_DBUS_SERVER_P2P))
42 #define TLM_IS_DBUS_SERVER_P2P_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),\
43 TLM_TYPE_DBUS_SERVER_P2P))
44 #define TLM_DBUS_SERVER_P2P_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj),\
45 TLM_TYPE_DBUS_SERVER_P2P, TlmDbusServerP2PClass))
47 typedef struct _TlmDbusServerP2P TlmDbusServerP2P;
48 typedef struct _TlmDbusServerP2PClass TlmDbusServerP2PClass;
49 typedef struct _TlmDbusServerP2PPrivate TlmDbusServerP2PPrivate;
51 struct _TlmDbusServerP2P
56 TlmDbusServerP2PPrivate *priv;
59 struct _TlmDbusServerP2PClass
61 GObjectClass parent_class;
65 tlm_dbus_server_p2p_get_type();
68 tlm_dbus_server_p2p_new (
72 #endif /* __TLM_DBUS_SERVER_P2P_H_ */