From 598bf9199e89a53bc0ffd2e32141a42d5ec85184 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 15 Oct 2009 17:20:41 +0000 Subject: Reworked the server commands. Track mounts. --create does now work as expected. --- g13/backend.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'g13/backend.c') diff --git a/g13/backend.c b/g13/backend.c index 08aec324f..531e745ed 100644 --- a/g13/backend.c +++ b/g13/backend.c @@ -101,14 +101,15 @@ be_create_new_keys (int conttype, membuf_t *mb) /* Dispatcher to the backend's create function. */ gpg_error_t be_create_container (ctrl_t ctrl, int conttype, - const char *fname, int fd, tupledesc_t tuples) + const char *fname, int fd, tupledesc_t tuples, + unsigned int *r_id) { (void)fd; /* Not yet used. */ switch (conttype) { case CONTTYPE_ENCFS: - return be_encfs_create_container (ctrl, fname, tuples); + return be_encfs_create_container (ctrl, fname, tuples, r_id); default: return no_such_backend (conttype); @@ -120,12 +121,12 @@ be_create_container (ctrl_t ctrl, int conttype, gpg_error_t be_mount_container (ctrl_t ctrl, int conttype, const char *fname, const char *mountpoint, - tupledesc_t tuples) + tupledesc_t tuples, unsigned int *r_id) { switch (conttype) { case CONTTYPE_ENCFS: - return be_encfs_mount_container (ctrl, fname, mountpoint, tuples); + return be_encfs_mount_container (ctrl, fname, mountpoint, tuples, r_id); default: return no_such_backend (conttype); -- cgit v1.2.3