Method

GioDBusNodeInfolookup_interface

Declaration

GDBusInterfaceInfo*
g_dbus_node_info_lookup_interface (
  GDBusNodeInfo* info,
  const gchar* name
)

Description

Looks up information about an interface.

The cost of this function is O(n) in number of interfaces.

Available since:2.26

Parameters

name const gchar*
 

A D-Bus interface name.

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

Return value

Returns: GDBusInterfaceInfo
 

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

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