Constructor

GpiodglibRequestConfignew

Declaration

GpiodglibRequestConfig*
gpiodglib_request_config_new (
  const gchar* first_prop,
  ...
)

Description

Create a new request config object.

This method is not directly available to language bindings.

Parameters

first_prop

Type: const gchar*

Name of the first property to set.

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

Type: 

No description available.

Return value

Type: GpiodglibRequestConfig

New GpiodglibRequestConfig.

The constructor allows to set object’s properties when it’s first created instead of having to build an empty object and then call mutators separately.

Currently supported properties are: consumer and event-buffer-size.

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