smf_get_state_by_instance
if ((state = smf_get_state_by_instance(inst)) == NULL) {
char *smf_get_state_by_instance(scf_instance_t *);