GetHostNameString()
Gets the string buffer to use for SRP client host name.
GetHostAddressesArray()
Gets the array of IPv6 address entries to use as SRP client host address list.
AllocateService()
Allocates a new service entry from the pool. The returned service entry instance will be initialized as follows: - `mService.mName` points to a string buffer which can be retrieved using `GetServiceNameString()`. - `mService.mInstanceName` points to a string buffer which can be retrieved using `GetInstanceNameString()`. - `mService.mSubTypeLabels` points to array which can be retrieved using `GetSubTypeLabelsArray()`. - `mService.mTxtEntries` points to `mTxtEntry`. - `mService.mNumTxtEntries` is set to one (one entry in the list). - Other `mService` fields (port, priority, weight) are set to zero. - `mTxtEntry.mKey` is set to `nullptr` (value is treated as already encoded data). - `mTxtEntry.mValue` points to a buffer which can be retrieved using `GetTxtBuffer()` - `mTxtEntry.mValueLength` is set to zero. - All related data/string buffers and arrays are cleared to all zero.
FreeService()
Frees a previously allocated service entry. The @p aService MUST be previously allocated using `AllocateService()` and not yet freed. Otherwise the behavior of this method is undefined.
FreeAllServices()
Frees all previously allocated service entries.