Subscribers can express interest in conditions raised by entities by using ham_condition_raise(), indicating as parameters to the call what sort of conditions they are interested in.
For more information, refer to the API documentation for ham_condition_raise().
ham_condition_t *ham_condition_raise(ham_entity_t *ehdl, const char *cname, unsigned rtype, unsigned rclass, unsigned rseverity, unsigned flags);