Lines Matching full:a
18 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
58 * This opaque type represents a SRP service host.
63 * This opaque type represents a SRP service.
68 * The ID of a SRP service update transaction on the SRP Server.
115 * Includes SRP server lease information of a host/service.
119 uint32_t mLease; ///< The lease time of a host/service in milliseconds.
120 uint32_t mKeyLease; ///< The key lease time of a host/service in milliseconds.
122 … uint32_t mRemainingKeyLease; ///< The remaining key lease time of a host/service in milliseconds.
142 * A trailing dot is always appended even if the domain is set without it.
144 * @param[in] aInstance A pointer to an OpenThread instance.
146 * @returns A pointer to the dot-joined domain string.
153 * A trailing dot will be appended to @p aDomain if it is not already there.
156 * @param[in] aInstance A pointer to an OpenThread instance.
161 * @retval OT_ERROR_INVALID_ARGS The argument @p aDomain is not a valid DNS domain name.
169 * @param[in] aInstance A pointer to an OpenThread instance.
178 * @param[in] aInstance A pointer to an OpenThread instance.
187 * @param[in] aInstance A pointer to an OpenThread instance.
196 * @param[in] aInstance A pointer to an OpenThread instance.
209 * @param[in] aInstance A pointer to an OpenThread instance.
218 * @param[in] aInstance A pointer to an OpenThread instance.
229 * On a Border Router, it is recommended to use `otSrpServerSetAutoEnableMode()` instead.
231 * @param[in] aInstance A pointer to an OpenThread instance.
232 * @param[in] aEnabled A boolean to enable/disable the SRP server.
247 …* This mode can be disabled by a `otSrpServerSetAutoEnableMode()` call with @p aEnabled set to `fa…
248 …* server is explicitly enabled or disabled by a call to `otSrpServerSetEnabled()` function. Disabl…
252 * @param[in] aInstance A pointer to an OpenThread instance.
253 * @param[in] aEnabled A boolean to enable/disable the auto-enable mode.
262 * @param[in] aInstance A pointer to an OpenThread instance.
272 * @param[in] aInstance A pointer to an OpenThread instance.
273 * @param[out] aTtlConfig A pointer to an `otSrpServerTtlConfig` instance.
283 * @param[in] aInstance A pointer to an OpenThread instance.
284 * @param[in] aTtlConfig A pointer to an `otSrpServerTtlConfig` instance.
294 * @param[in] aInstance A pointer to an OpenThread instance.
295 * @param[out] aLeaseConfig A pointer to an `otSrpServerLeaseConfig` instance.
302 * When a non-zero LEASE time is requested from a client, the granted value will be
303 * limited in range [aMinLease, aMaxLease]; and a non-zero KEY-LEASE will be granted
307 * @param[in] aInstance A pointer to an OpenThread instance.
308 * @param[in] aLeaseConfig A pointer to an `otSrpServerLeaseConfig` instance.
318 * Is called by the SRP server to notify that a SRP host and possibly SRP services
322 * A SRP service observer should always call otSrpServerHandleServiceUpdateResult with error code
325 …* A more generic handler may perform validations on the SRP host/services and rejects the SRP upda…
327 * services on a multicast-capable link and returns specific error code if any failure occurs.
331 * @param[in] aHost A pointer to the otSrpServerHost object which contains the SRP updates. The
342 * @param[in] aContext A pointer to application-specific context.
355 * @param[in] aInstance A pointer to an OpenThread instance.
356 * @param[in] aServiceHandler A pointer to a service handler. Use NULL to remove the handler.
357 * @param[in] aContext A pointer to arbitrary context information.
365 * Reports the result of processing a SRP update to the SRP server.
368 * processing of a SRP update.
370 * @param[in] aInstance A pointer to an OpenThread instance.
381 * @param[in] aInstance A pointer to an OpenThread instance.
382 * @param[in] aHost A pointer to current host; use NULL to get the first host.
384 * @returns A pointer to the registered host. NULL, if no more hosts can be found.
391 * @param[in] aInstance A pointer to an OpenThread instance.
393 * @returns A pointer to the response counters of the SRP server.
400 * A SRP service host can be deleted but retains its name for future uses.
403 * @param[in] aHost A pointer to the SRP service host.
412 * @param[in] aHost A pointer to the SRP service host.
414 * @returns A pointer to the null-terminated host name string.
419 * Indicates whether the host matches a given host name.
421 …* DNS name matches are performed using a case-insensitive string comparison (i.e., "Abc" and "aBc"…
424 * @param[in] aHost A pointer to the SRP service host.
425 * @param[in] aFullName A full host name.
435 * @param[in] aHost A pointer to the SRP service host.
436 * @param[out] aAddressesNum A pointer to where we should output the number of the addresses to.
438 * @returns A pointer to the array of IPv6 Address.
443 * Returns the LEASE and KEY-LEASE information of a given host.
445 * @param[in] aHost A pointer to the SRP server host.
446 * @param[out] aLeaseInfo A pointer to where to output the LEASE and KEY-LEASE information.
453 * @param[in] aHost A pointer to the SRP service host.
454 …* @param[in] aService A pointer to current SRP service instance; use NULL to get the first servi…
456 * @returns A pointer to the next service or NULL if there is no more services.
464 * A SRP service can be deleted but retains its name for future uses.
468 * @param[in] aService A pointer to the SRP service.
477 * @param[in] aService A pointer to the SRP service.
479 * @returns A pointer to the null-terminated service instance name string.
484 * Indicates whether this service matches a given service instance name.
486 …* DNS name matches are performed using a case-insensitive string comparison (i.e., "Abc" and "aBc"…
489 * @param[in] aService A pointer to the SRP service.
500 * @param[in] aService A pointer to the SRP service.
502 * @returns A pointer to the null-terminated service instance label string..
509 * @param[in] aService A pointer to the SRP service.
511 * @returns A pointer to the null-terminated service name string.
516 * Indicates whether this service matches a given service name.
518 …* DNS name matches are performed using a case-insensitive string comparison (i.e., "Abc" and "aBc"…
521 * @param[in] aService A pointer to the SRP service.
532 * @param[in] aService A pointer to the SRP service.
539 * Gets the sub-type service name (full name) of the service at a given index
541 …* The full service name for a sub-type service follows "<sub-label>._sub.<service-labels>.<domain>…
543 * @param[in] aService A pointer to the SRP service.
546 * @returns A pointer to sub-type service name at @p aIndex, or `NULL` if no sub-type at this index.
551 * Indicates whether or not the service has a given sub-type.
553 …* DNS name matches are performed using a case-insensitive string comparison (i.e., "Abc" and "aBc"…
556 * @param[in] aService A pointer to the SRP service.
565 * Parses a sub-type service name (full name) and extracts the sub-type label.
567 …* The full service name for a sub-type service follows "<sub-label>._sub.<service-labels>.<domain>…
569 * @param[in] aSubTypeServiceName A sub-type service name (full name).
570 * @param[out] aLabel A pointer to a buffer to copy the extracted sub-type label.
576 * @retval OT_ERROR_INVALID_ARGS @p aSubTypeServiceName is not a valid sub-type format.
583 * @param[in] aService A pointer to the SRP service.
592 * @param[in] aService A pointer to the SRP service.
601 * @param[in] aService A pointer to the SRP service.
610 * @param[in] aService A pointer to the SRP service.
619 * @param[in] aService A pointer to the SRP service.
620 * @param[out] aDataLength A pointer to return the TXT record data length. MUST NOT be NULL.
622 …* @returns A pointer to the buffer containing the TXT record data (the TXT data length is returned…
629 * @param[in] aService A pointer to the SRP service.
631 * @returns A pointer to the host instance.
636 * Returns the LEASE and KEY-LEASE information of a given service.
638 * @param[in] aService A pointer to the SRP server service.
639 * @param[out] aLeaseInfo A pointer to where to output the LEASE and KEY-LEASE information.