Blame gio/gdbusutils.h

Packit 84794d
/* GDBus - GLib D-Bus Library
Packit 84794d
 *
Packit 84794d
 * Copyright (C) 2008-2010 Red Hat, Inc.
Packit 84794d
 *
Packit 84794d
 * This library is free software; you can redistribute it and/or
Packit 84794d
 * modify it under the terms of the GNU Lesser General Public
Packit 84794d
 * License as published by the Free Software Foundation; either
Packit 84794d
 * version 2.1 of the License, or (at your option) any later version.
Packit 84794d
 *
Packit 84794d
 * This library is distributed in the hope that it will be useful,
Packit 84794d
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 84794d
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 84794d
 * Lesser General Public License for more details.
Packit 84794d
 *
Packit 84794d
 * You should have received a copy of the GNU Lesser General
Packit 84794d
 * Public License along with this library; if not, see <http://www.gnu.org/licenses/>.
Packit 84794d
 *
Packit 84794d
 * Author: David Zeuthen <davidz@redhat.com>
Packit 84794d
 */
Packit 84794d
Packit 84794d
#ifndef __G_DBUS_UTILS_H__
Packit 84794d
#define __G_DBUS_UTILS_H__
Packit 84794d
Packit 84794d
#if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION)
Packit 84794d
#error "Only <gio/gio.h> can be included directly."
Packit 84794d
#endif
Packit 84794d
Packit 84794d
#include <gio/giotypes.h>
Packit 84794d
Packit 84794d
G_BEGIN_DECLS
Packit 84794d
Packit 84794d
GLIB_AVAILABLE_IN_ALL
Packit 84794d
gboolean g_dbus_is_guid (const gchar *string);
Packit 84794d
GLIB_AVAILABLE_IN_ALL
Packit 84794d
gchar *g_dbus_generate_guid (void);
Packit 84794d
Packit 84794d
GLIB_AVAILABLE_IN_ALL
Packit 84794d
gboolean g_dbus_is_name (const gchar *string);
Packit 84794d
GLIB_AVAILABLE_IN_ALL
Packit 84794d
gboolean g_dbus_is_unique_name (const gchar *string);
Packit 84794d
GLIB_AVAILABLE_IN_ALL
Packit 84794d
gboolean g_dbus_is_member_name (const gchar *string);
Packit 84794d
GLIB_AVAILABLE_IN_ALL
Packit 84794d
gboolean g_dbus_is_interface_name (const gchar *string);
Packit 84794d
Packit 84794d
GLIB_AVAILABLE_IN_ALL
Packit 84794d
void g_dbus_gvariant_to_gvalue (GVariant  *value,
Packit 84794d
                                GValue    *out_gvalue);
Packit 84794d
GLIB_AVAILABLE_IN_ALL
Packit 84794d
GVariant *g_dbus_gvalue_to_gvariant (const GValue         *gvalue,
Packit 84794d
                                     const GVariantType   *type);
Packit 84794d
Packit 84794d
G_END_DECLS
Packit 84794d
Packit 84794d
#endif /* __G_DBUS_UTILS_H__ */