(root)/
glib-2.79.0/
gio/
gdbusdaemon.h
       1  /*
       2   * Copyright © 2012 Red Hat, Inc.
       3   *
       4   * SPDX-License-Identifier: LGPL-2.1-or-later
       5   *
       6   * This library is free software; you can redistribute it and/or
       7   * modify it under the terms of the GNU Lesser General Public
       8   * License as published by the Free Software Foundation; either
       9   * version 2.1 of the License, or (at your option) any later version.
      10   *
      11   * This library is distributed in the hope that it will be useful,
      12   * but WITHOUT ANY WARRANTY; without even the implied warranty of
      13   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
      14   * Lesser General Public License for more details.
      15   *
      16   * You should have received a copy of the GNU Lesser General
      17   * Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
      18   *
      19   * Authors: Alexander Larsson <alexl@redhat.com>
      20   */
      21  
      22  #include <gio/gio.h>
      23  
      24  #define G_TYPE_DBUS_DAEMON (_g_dbus_daemon_get_type ())
      25  #define G_DBUS_DAEMON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_DBUS_DAEMON, GDBusDaemon))
      26  #define G_DBUS_DAEMON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), G_TYPE_DBUS_DAEMON, GDBusDaemonClass))
      27  #define G_DBUS_DAEMON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), G_TYPE_DBUS_DAEMON, GDBusDaemonClass))
      28  #define G_IS_DBUS_DAEMON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), G_TYPE_DBUS_DAEMON))
      29  #define G_IS_DBUS_DAEMON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), G_TYPE_DBUS_DAEMON))
      30  
      31  typedef struct _GDBusDaemon GDBusDaemon;
      32  typedef struct _GDBusDaemonClass GDBusDaemonClass;
      33  
      34  G_DEFINE_AUTOPTR_CLEANUP_FUNC(GDBusDaemon, g_object_unref)
      35  
      36  GType _g_dbus_daemon_get_type (void) G_GNUC_CONST;
      37  
      38  GDBusDaemon *_g_dbus_daemon_new (const char *address,
      39  				 GCancellable *cancellable,
      40  				 GError **error);
      41  
      42  const char *_g_dbus_daemon_get_address (GDBusDaemon *daemon);