flipperzero_sys

Function keys_dict_alloc

Source
pub unsafe extern "C" fn keys_dict_alloc(
    path: *const c_char,
    mode: KeysDictMode,
    key_size: usize,
) -> *mut KeysDict
Expand description

Open or create list Depending on mode, list will be opened or created.

§Arguments

  • path - - Path of the file that contain the list
  • mode - - ListKeysMode value
  • key_size - - Size of each key in bytes

§Returns

Returns KeysDict list instance