dbus-gvalue.h

00001 #ifndef DBUS_GOBJECT_VALUE_H
00002 #define DBUS_GOBJECT_VALUE_H
00003 
00004 #include <dbus/dbus.h>
00005 #include <dbus/dbus-signature.h>
00006 #include <glib.h>
00007 #include <glib-object.h>
00008 #include "dbus/dbus-glib.h"
00009 
00010 G_BEGIN_DECLS
00011 
00012 typedef struct {
00013   DBusGConnection    *gconnection;
00014   DBusGProxy         *proxy;
00015 } DBusGValueMarshalCtx;
00016 
00017 void           _dbus_g_value_types_init        (void);
00018 
00019 char *         _dbus_gtype_to_signature        (GType                    type);
00020 char *         _dbus_gvalue_to_signature       (const GValue            *val);
00021 
00022 gboolean       _dbus_gvalue_demarshal          (DBusGValueMarshalCtx    *context,
00023                                                DBusMessageIter         *iter,
00024                                                GValue                  *value,
00025                                                GError                 **error);
00026 
00027 gboolean       _dbus_gvalue_demarshal_variant  (DBusGValueMarshalCtx    *context,
00028                                                DBusMessageIter         *iter,
00029                                                GValue                  *value,
00030                                                GError                 **error);
00031 
00032 GValueArray *  _dbus_gvalue_demarshal_message  (DBusGValueMarshalCtx    *context,
00033                                                DBusMessage             *message,
00034                                                guint                    n_params,
00035                                                const GType             *types, 
00036                                                GError                 **error);
00037 
00038 gboolean       _dbus_gvalue_marshal            (DBusMessageIter         *iter,
00039                                                const GValue            *value);
00040 
00041 G_END_DECLS
00042 
00043 #endif /* DBUS_GOBJECT_VALUE_H */

Generated on Wed Oct 3 10:04:23 2007 for D-BUSGLibBindings by  doxygen 1.5.1