Method

PlumaMessageBuslookup

Declaration [src]

PlumaMessageType*
pluma_message_bus_lookup (
  PlumaMessageBus* bus,
  const gchar* object_path,
  const gchar* method
)

Description [src]

Get the registered PlumaMessageType for method at object_path. The returned PlumaMessageType is owned by the bus and should not be unreffed.

Parameters

object_path

Type: const gchar*

The object path.

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

Type: const gchar*

The method.

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

Return value

Type: PlumaMessageType

The registered PlumaMessageType or NULL if no message type is registered for method at object_path.

The caller of the method takes ownership of the data, and is responsible for freeing it.