diff options
author | Werner Koch <wk@gnupg.org> | 2019-10-04 14:19:39 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2019-10-07 16:02:40 +0200 |
commit | f4bdf8e590877e9bfddfd19a4e4167f6531c9fb1 (patch) | |
tree | 809a17e27904c880b0b9a76c433dfadc16e8dd2f /kbx/backend.h | |
parent | gpg: Fix a memory leak in get_best_pubkey_byname. (diff) | |
download | gnupg2-f4bdf8e590877e9bfddfd19a4e4167f6531c9fb1.tar.xz gnupg2-f4bdf8e590877e9bfddfd19a4e4167f6531c9fb1.zip |
kbx: Implement update for the STORE command.
* kbx/backend-kbx.c (be_kbx_update): New.
* kbx/frontend.c (kbxd_store): Call it.
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'kbx/backend.h')
-rw-r--r-- | kbx/backend.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kbx/backend.h b/kbx/backend.h index 1581ae582..e97855246 100644 --- a/kbx/backend.h +++ b/kbx/backend.h @@ -142,6 +142,9 @@ gpg_error_t be_kbx_seek (ctrl_t ctrl, backend_handle_t backend_hd, gpg_error_t be_kbx_insert (ctrl_t ctrl, backend_handle_t backend_hd, db_request_t request, enum pubkey_types pktype, const void *blob, size_t bloblen); +gpg_error_t be_kbx_update (ctrl_t ctrl, backend_handle_t backend_hd, + db_request_t request, enum pubkey_types pktype, + const void *blob, size_t bloblen); #endif /*KBX_BACKEND_H*/ |