diff options
author | Werner Koch <[email protected]> | 2020-09-24 08:27:19 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2020-09-24 08:37:42 +0000 |
commit | 25ad3c22d79d06c16a5fc652b0a6e3ffd99ad2b6 (patch) | |
tree | 055829e80850bdec48fcbce915ff9e4de8280021 /kbx/kbx-client-util.h | |
parent | keyboxd: Fix UDPATE keyblob SQL statement (diff) | |
download | gnupg-25ad3c22d79d06c16a5fc652b0a6e3ffd99ad2b6.tar.gz gnupg-25ad3c22d79d06c16a5fc652b0a6e3ffd99ad2b6.zip |
keyboxd: Implement multiple search descriptions.
* kbx/kbx-client-util.c (kbx_client_data_simple): New.
* kbx/backend-sqlite.c (struct be_sqlite_local_s): Add field descidx.
(be_sqlite_search): Use that.
* g10/call-keyboxd.c (keydb_search): Implement multi mode.
--
With that change the keyboxd is at par with the keybox code.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'kbx/kbx-client-util.h')
-rw-r--r-- | kbx/kbx-client-util.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kbx/kbx-client-util.h b/kbx/kbx-client-util.h index 1cc68b5a0..07cf78ec7 100644 --- a/kbx/kbx-client-util.h +++ b/kbx/kbx-client-util.h @@ -28,6 +28,7 @@ typedef struct kbx_client_data_s *kbx_client_data_t; gpg_error_t kbx_client_data_new (kbx_client_data_t *r_kcd, assuan_context_t ctx, int dlines); void kbx_client_data_release (kbx_client_data_t kcd); +gpg_error_t kbx_client_data_simple (kbx_client_data_t kcd, const char *command); gpg_error_t kbx_client_data_cmd (kbx_client_data_t kcd, const char *command, gpg_error_t (*status_cb)(void *opaque, const char *line), |