pub unsafe extern "C" fn dm_list_empty(head: *const dm_list) -> c_int