Method

GpiodglibRequestConfigdup_consumer

Declaration

gchar*
gpiodglib_request_config_dup_consumer (
  GpiodglibRequestConfig* self
)

Description

Get the consumer name configured in the request config.

Return value

Type: gchar*

Consumer name stored in the request config. The returned string is a copy and must be freed by the caller using g_free().

The caller of the method takes ownership of the data, and is responsible for freeing it.
The value is a NUL terminated UTF-8 string.