diff options
Diffstat (limited to 'hal_internal.h')
-rw-r--r-- | hal_internal.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/hal_internal.h b/hal_internal.h index 2318748..ef0d763 100644 --- a/hal_internal.h +++ b/hal_internal.h @@ -646,6 +646,16 @@ extern hal_error_t hal_ks_index_delete(hal_ks_index_t *ksi, unsigned *blockno); /* + * Replace a key block with a new one, return new block number. + * Name of block does not change. This is an optimization of + * a delete immediately followed by an add for the same name. + */ + +extern hal_error_t hal_ks_index_replace(hal_ks_index_t *ksi, + const hal_uuid_t * const name, + unsigned *blockno); + +/* * RPC lowest-level send and receive routines. These are blocking, and * transport-specific (sockets, USB). */ |