doc fix
[gnupg.git] / agent / cvt-openpgp.h
index 17b1a6e..db06a3f 100644 (file)
 #ifndef GNUPG_AGENT_CVT_OPENPGP_H
 #define GNUPG_AGENT_CVT_OPENPGP_H
 
-gpg_error_t convert_openpgp (ctrl_t ctrl, gcry_sexp_t s_pgp, 
-                             unsigned char *grip, const char *prompt,
-                             unsigned char **r_key, char **r_passphrase);
+gpg_error_t convert_from_openpgp (ctrl_t ctrl, gcry_sexp_t s_pgp, 
+                                  unsigned char *grip, const char *prompt,
+                                  const char *cache_nonce,
+                                  unsigned char **r_key, char **r_passphrase);
 
+gpg_error_t convert_to_openpgp (ctrl_t ctrl, gcry_sexp_t s_key, 
+                                const char *passphrase,
+                                unsigned char **r_transferkey,
+                                size_t *r_transferkeylen);
 
 #endif /*GNUPG_AGENT_CVT_OPENPGP_H*/