ar_osal/api/ar_osal_servreg.h
Structures
ar_osal_servreg_entry_type
Struct representing the name of the service or domain and the instance id.
Members
char_t
Name of the service or domain.
uint32_t
ar_osal_servreg_state_notify_payload
servreg service state notify callback payload.
Members
ar_osal_servreg_entry_type
ar_osal_servreg_entry_type
ar_osal_service_state_type
Functions
ar_osal_servreg_init
ar_osal_servreg_init Initialize servreg interface.
ar_osal_servreg_deinit
ar_osal_servreg_deinit Uninitialize servreg interface.
ar_osal_servreg_get_domainlist
ar_osal_servreg_get_domainlist Client to call this API to get a list of domains(msm/domain/subdomain) on which a given service(provider/service) is supported.
ar_osal_servreg_entry_type *
service(provider/service) for which domain(s) list is required.
ar_osal_servreg_entry_type *
service supported in domain(s), client to provide . payload buffer pointer.
uint32_t *
Client to provide the num_domains to get the domain list. . If num_domains is zero and domain_list is NULL, API will return . the number of domains for the given service if available.
ar_osal_servreg_register
ar_osal_servreg_register Service client(s) to register for the domain service state change notifications.
ar_osal_client_type
indicates registering client is a listener or service provider.
opt] cb_func: callback function pointer to get notifications on. . This is parameter is optional to Service provider registration.
opt] cb_context: callback function payload/context provided by client. . This is parameter is optional to Service provider registration.
ar_osal_servreg_entry_type *
domain of the service(msm/domain/subdomain) for which the . state change notifications to be provided.
ar_osal_servreg_entry_type *
service(provider/service) for which the . state change notifications to be provided.
ar_osal_servreg_deregister
ar_osal_servreg_deregister Service client(s) to deregister for the service state change notifications.
ar_osal_servreg_t
interface handle returned by ar_osal_servreg_register().
ar_osal_servreg_set_state
ar_osal_servreg_set_state Service provider to call this API to register its service states(UP/DOWN).
This API to be used only by the service provider(msm/domain/subdomain/provider/service) and not by service client(s).
ar_osal_servreg_t
interface handle returned by ar_osal_servreg_register().
ar_osal_service_state_type
new service state for service registered using ar_osal_servreg_register().
ar_osal_servreg_restart_service
ar_osal_servreg_restart_service HLOS calls this API to trigger a restart (PDR or SSR) on a given processor
ar_osal_servreg_t
interface handle returned by ar_osal_servreg_register() which identifies the desired processor

