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_count

The reference count or -1 if statically allocated.

name

The name of the D-Bus method, e.g. RequestName.

in_args

A pointer to a NULL-terminated array of pointers to GDBusArgInfo structures or NULL if there are no in arguments.

out_args

A pointer to a NULL-terminated array of pointers to GDBusArgInfo structures or NULL if there are no out arguments.

annotations

A pointer to a NULL-terminated array of pointers to GDBusAnnotationInfo structures or NULL if 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