summaryrefslogtreecommitdiffstats
path: root/kbx/keybox-defs.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 21:21:03 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 21:21:03 +0000
commit3675f65888fde5fddde20ff811638a338bf08ca6 (patch)
tree065688bbb6355a8a4784ec9c8e112cec342eac5e /kbx/keybox-defs.h
parentAdding upstream version 2.2.40. (diff)
downloadgnupg2-3675f65888fde5fddde20ff811638a338bf08ca6.tar.xz
gnupg2-3675f65888fde5fddde20ff811638a338bf08ca6.zip
Adding upstream version 2.2.43.upstream/2.2.43upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'kbx/keybox-defs.h')
-rw-r--r--kbx/keybox-defs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/kbx/keybox-defs.h b/kbx/keybox-defs.h
index 2751b4b..eafcf2c 100644
--- a/kbx/keybox-defs.h
+++ b/kbx/keybox-defs.h
@@ -139,6 +139,14 @@ typedef struct _keybox_openpgp_info *keybox_openpgp_info_t;
/* } keybox_opt; */
/*-- keybox-init.c --*/
+
+#define KEYBOX_LL_OPEN_READ 0
+#define KEYBOX_LL_OPEN_UPDATE 1
+#define KEYBOX_LL_OPEN_CREATE 2
+gpg_error_t _keybox_ll_open (estream_t *rfp, const char *fname,
+ unsigned int mode);
+gpg_error_t _keybox_ll_close (estream_t fp);
+
void _keybox_close_file (KEYBOX_HANDLE hd);