Method

RebonjourClientlist_service_types

Declaration

DexFuture*
rebonjour_client_list_service_types (
  RebonjourClient* self,
  int ifindex,
  const char* domain,
  RebonjourLookupFlags flags
)

Description

Lists advertised DNS-SD service types in domain.

Parameters

ifindex

Type: int

Platform network interface index, or 0 for any interface.

domain

Type: const char*

Browsing domain, or NULL for “local”.

The argument can be NULL.
The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
flags

Type: RebonjourLookupFlags

Lookup flags.

Return value

Type: DexFuture

A DexFuture resolving to a GListModel of RebonjourService.

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