allocate_state_element
static void *allocate_state_element(state_file_descr_t *, int *);
x = (ps_state_element_t *)allocate_state_element(