FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kFsLib_SetHealthProvider ( kHealth  provider)

Sets the global health provider.

If this function will be used to install a health provider, it should ideally be called at application startup time, just after initializing the kFireSync library but before any health or code profiling probes are constructed.

It is the caller's responsibility to manage the lifetime of the provider instance; the kFsLib assembly will not destroy the provider on exit. If a provider is registered, it should be unregistered prior to its destruction.

In sensor environments, a custom health provider is installed by the sensor framework. Sensor applications should not attempt to use kFsLib_SetHealthProvider; doing so may result in undefined behavior.

Parameters
providerHealth provider instance.