aboutsummaryrefslogtreecommitdiffstats
path: root/g13/backend.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2009-10-13 19:17:24 +0000
committerWerner Koch <[email protected]>2009-10-13 19:17:24 +0000
commit536b6ab09fa3e17f955c8b55e8469f3265a1936f (patch)
treea06fba4fb448cc70de12a470d7dde7f22c3eaf8f /g13/backend.h
parentReplace C99 style vararg macro which was anyway not correct. (diff)
downloadgnupg-536b6ab09fa3e17f955c8b55e8469f3265a1936f.tar.gz
gnupg-536b6ab09fa3e17f955c8b55e8469f3265a1936f.zip
Keep on hacking on g13. A simple --create and --mount does now work.
A hacked up encfs is required.
Diffstat (limited to 'g13/backend.h')
-rw-r--r--g13/backend.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/g13/backend.h b/g13/backend.h
index ffd03d3f5..7cdde9e4b 100644
--- a/g13/backend.h
+++ b/g13/backend.h
@@ -21,12 +21,20 @@
#define G13_BACKEND_H
#include "../common/membuf.h"
+#include "utils.h" /* For tupledesc_t */
-
+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);
+gpg_error_t be_create_container (ctrl_t ctrl, int conttype,
+ const char *fname, int fd,
+ tupledesc_t tuples);
+gpg_error_t be_mount_container (ctrl_t ctrl, int conttype,
+ const char *fname, const char *mountpoint,
+ tupledesc_t tuples);
+
#endif /*G13_BACKEND_H*/