Method

GioDBusInterfaceInfolookup_method

since: 2.26

Declaration [src]

GDBusMethodInfo*
g_dbus_interface_info_lookup_method (
  GDBusInterfaceInfo* info,
  const gchar* name
)

Description [src]

Looks up information about a method.

The cost of this function is O(n) in number of methods unless g_dbus_interface_info_cache_build() has been used on info.

Available since: 2.26

Parameters

name

Type: const gchar*

A D-Bus method name (typically in CamelCase).

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: GDBusMethodInfo

A GDBusMethodInfo or NULL if not found. Do not free, it is owned by info.

The returned data is owned by the instance.
The return value can be NULL.