Method

PhocDesktopfind_output_by_name

Declaration [src]

PhocOutput*
phoc_desktop_find_output_by_name (
  PhocDesktop* self,
  const char* name
)

Description [src]

Find an output by it’s name.

Parameters

name

Type: const char*

The output’s name.

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

Return value

Type: PhocOutput

The matching output or NULL if no output matches.

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