diff options
author | Werner Koch <[email protected]> | 2015-10-21 06:38:10 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2015-11-30 11:32:10 +0000 |
commit | 286a89da7c39333e0883c2050cf798905d48c4f5 (patch) | |
tree | a5979c428067adb0c4deebfd5cb6ec6dce12efa1 /g13/backend.h | |
parent | doc: Typo fix. (diff) | |
download | gnupg-wk/g13work.tar.gz gnupg-wk/g13work.zip |
g13: First chunk of code to support dm-crypt.wk/g13work
* g13/call-syshelp.c, g13/call-syshelp.h: New.
* g13/g13-syshelp.c, g13/g13-syshelp.h: New.
* g13/sh-cmd.c: New.
* g13/sh-blockdev.c: New.
* g13/sh-exectool.c: New.
* g13/sh-dmcrypt.c: New.
* g13/Makefile.am (sbin_PROGRAMS): Add g13-syshelp.c
(g13_syshelp_SOURCES): New.
(g13_syshelp_LDADD): New.
* g13/g13.c (opts): Add option --type.
(g13_deinit_default_ctrl): New.
(main): Implement that option. Call g13_deinit_default_ctrl.
* g13/g13.h (struct call_syshelp_s): New declaration.
(server_control_s): Add field syshelp_local.
* g13/keyblob.h (KEYBLOB_TAG_CREATED): New.
(KEYBLOB_TAG_ALGOSTR): New.
(KEYBLOB_TAG_HDRCOPY): New.
* g13/backend.c (be_parse_conttype_name): New.
(be_get_detached_name): Add CONTTYPE_DM_CRYPT.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g13/backend.h')
-rw-r--r-- | g13/backend.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/g13/backend.h b/g13/backend.h index 20d296606..e570fc5a1 100644 --- a/g13/backend.h +++ b/g13/backend.h @@ -23,7 +23,8 @@ #include "../common/membuf.h" #include "utils.h" /* For tupledesc_t */ -int be_is_supported_conttype (int conttype); +int be_parse_conttype_name (const char *name); +int be_is_supported_conttype (int conttype); gpg_error_t be_get_detached_name (int conttype, const char *fname, char **r_name, int *r_isdir); gpg_error_t be_create_new_keys (int conttype, membuf_t *mb); |