Go to the source code of this file.
◆ fs_mgmt_hash_checksum_handler_fn
fs_mgmt_hash_checksum_handler_fn |
Function that gets called to generate a hash or checksum.
- Parameters
-
file | Opened file context |
output | Output buffer for hash/checksum |
out_len | Updated with size of input data |
len | Maximum length of data to perform hash/checksum on |
- Returns
- 0 on success, negative error code on failure.
◆ fs_mgmt_hash_checksum_list_cb
fs_mgmt_hash_checksum_list_cb |
Function that gets called with hash/checksum details.
- Parameters
-
group | Details about a supported hash/checksum |
user_data | User-supplied value to calling function |
◆ fs_mgmt_hash_checksum_find_handler()
Finds a registered hash/checksum handler.
- Parameters
-
name | The name of the hash/checksum group to find. |
- Returns
- The requested hash/checksum handler on success; NULL on failure.
◆ fs_mgmt_hash_checksum_find_handlers()
Runs a callback with all supported hash/checksum types.
- Parameters
-
cb | The callback function to call with each hash/checksum type. |
user_data | Data to pass back with the callback function. |
◆ fs_mgmt_hash_checksum_register_group()
Registers a full hash/checksum group.
- Parameters
-
group | The group to register. |
◆ fs_mgmt_hash_checksum_unregister_group()
Unregisters a full hash/checksum group.
- Parameters
-
group | The group to register. |