1 2 3 4 5 6 7 8 9 10 11 12 13 14 | htri_t
ss_prop_appendable(ss_prop_t *prop, htri_t new_value)
{
SS_ENTER(ss_prop_appendable, htri_t);
htri_t retval = prop->appendable;
SS_ASSERT_TYPE(prop, ss_prop_t);
if (new_value>=0) {
if (!prop->appendable && new_value) SS_ERROR(PERM);
prop->appendable = new_value;
}
SS_CLEANUP:
SS_LEAVE(retval);
}
|