blob: fafda5851a0095e01756c130ed3ab4ce8762bc93 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
#ifndef DBUS_GOBJECT_VALUE_H
#define DBUS_GOBJECT_VALUE_H
#include <dbus/dbus.h>
#include <glib.h>
#include <glib-object.h>
G_BEGIN_DECLS
/* Used for return value storage */
typedef union
{
gboolean gboolean_val;
guchar guchar_val;
gint int_val;
gint64 gint64_val;
guint64 guint64_val;
double double_val;
gpointer gpointer_val;
char * chararray_val;
} DBusBasicGValue;
const char * dbus_gvalue_genmarshal_name_from_type (int type);
const char * dbus_gvalue_ctype_from_type (int type, gboolean in);
const char * dbus_gvalue_binding_type_from_type (int type);
gboolean dbus_gvalue_init (int type,
GValue *value);
gboolean dbus_gvalue_demarshal (DBusMessageIter *iter,
GValue *value);
gboolean dbus_gvalue_marshal (DBusMessageIter *iter,
GValue *value);
G_END_DECLS
#endif /* DBUS_GOBJECT_VALUE_H */
|