X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gio%2Fgdbusutils.h;h=fa64426f8da966b21264c3b7821a2e85ea5b1bdf;hb=51fac05d73f8363de821eb0d6940dedca13a8c0f;hp=b31dc7511f211bc6ce1272c108b34e1ff3315d69;hpb=73ca8b47540d005d5227c03aac143d6780da654c;p=platform%2Fupstream%2Fglib.git diff --git a/gio/gdbusutils.h b/gio/gdbusutils.h index b31dc75..fa64426 100644 --- a/gio/gdbusutils.h +++ b/gio/gdbusutils.h @@ -13,32 +13,43 @@ * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General - * Public License along with this library; if not, write to the - * Free Software Foundation, Inc., 59 Temple Place, Suite 330, - * Boston, MA 02111-1307, USA. + * Public License along with this library; if not, see . * * Author: David Zeuthen */ +#ifndef __G_DBUS_UTILS_H__ +#define __G_DBUS_UTILS_H__ + #if !defined (__GIO_GIO_H_INSIDE__) && !defined (GIO_COMPILATION) #error "Only can be included directly." #endif -#ifndef __G_DBUS_UTILS_H__ -#define __G_DBUS_UTILS_H__ - #include G_BEGIN_DECLS +GLIB_AVAILABLE_IN_ALL gboolean g_dbus_is_guid (const gchar *string); +GLIB_AVAILABLE_IN_ALL gchar *g_dbus_generate_guid (void); +GLIB_AVAILABLE_IN_ALL gboolean g_dbus_is_name (const gchar *string); +GLIB_AVAILABLE_IN_ALL gboolean g_dbus_is_unique_name (const gchar *string); +GLIB_AVAILABLE_IN_ALL gboolean g_dbus_is_member_name (const gchar *string); +GLIB_AVAILABLE_IN_ALL gboolean g_dbus_is_interface_name (const gchar *string); +GLIB_AVAILABLE_IN_ALL +void g_dbus_gvariant_to_gvalue (GVariant *value, + GValue *out_gvalue); +GLIB_AVAILABLE_IN_ALL +GVariant *g_dbus_gvalue_to_gvariant (const GValue *gvalue, + const GVariantType *type); + G_END_DECLS #endif /* __G_DBUS_UTILS_H__ */