Struct
GioDBusMethodInfo
since: 2.26
Description [src]
struct GDBusMethodInfo {
gint ref_count;
gchar* name;
GDBusArgInfo* in_args[];
GDBusArgInfo* out_args[];
GDBusAnnotationInfo* annotations[];
}
Information about a method on a D-Bus interface.
Structure members
ref_countThe reference count or -1 if statically allocated.
nameThe name of the D-Bus method, e.g.
RequestName.in_argsA pointer to a
NULL-terminated array of pointers toGDBusArgInfostructures orNULLif there are no in arguments.out_argsA pointer to a
NULL-terminated array of pointers toGDBusArgInfostructures orNULLif there are no out arguments.annotationsA pointer to a
NULL-terminated array of pointers toGDBusAnnotationInfostructures orNULLif there are no annotations.
Available since: 2.26
Instance methods
g_dbus_method_info_ref
If info is statically allocated does nothing. Otherwise increases
the reference count.
since: 2.26
g_dbus_method_info_unref
If info is statically allocated, does nothing. Otherwise decreases
the reference count of info. When its reference count drops to 0,
the memory used is freed.
since: 2.26