openthread_sys

Function otSrpServerServiceGetSubTypeServiceNameAt

Source
pub unsafe extern "C" fn otSrpServerServiceGetSubTypeServiceNameAt(
    aService: *const otSrpServerService,
    aIndex: u16,
) -> *const c_char
Expand description

Gets the sub-type service name (full name) of the service at a given index

The full service name for a sub-type service follows “._sub...”.

@param[in] aService A pointer to the SRP service. @param[in] aIndex The index to get.

@returns A pointer to sub-type service name at @p aIndex, or NULL if no sub-type at this index.