mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
g13: Re-factor high level create code.
* g13/create.c (g13_create_container): Factor some code out to ... * g13/backend.c (be_take_lock_for_create): new. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
3087197008
commit
dc1dbc43a6
3 changed files with 64 additions and 28 deletions
|
@ -25,6 +25,8 @@
|
|||
|
||||
int be_parse_conttype_name (const char *name);
|
||||
int be_is_supported_conttype (int conttype);
|
||||
gpg_error_t be_take_lock_for_create (ctrl_t ctrl, const char *fname,
|
||||
dotlock_t *r_lock);
|
||||
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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue