[−][src]Function opensc_sys::list_prepend
pub unsafe extern "C" fn list_prepend(
l: *mut list_t,
data: *const c_void
) -> c_int
insert data in the head of the list.
This function is useful for adding elements with a LIFO/Stack policy.
@param l list to operate @param data pointer to user data to append
@return 1 for success. < 0 for failure