In addition to the above, components on the system can also publish autonomously detected conditions by using the ham_entity_condition_raise() API call. The component raising the condition can also specify a type, class, and severity of its choice, to allow subscribers further granularity in filtering out specific conditions to subscribe to. This call results in the HAM triggering a condition-raise event internally, which other components can subscribe to using the ham_condition_raise() API call described below.
/* publish autonomously detected condition */ int ham_entity_condition_raise(ham_entity_t *ehdl, unsigned rtype, unsigned rclass, unsigned severity, unsigned flags);