2008-12-15 [colin] 3.6.1cvs78
[claws.git] / src / plugins / pgpcore / sgpgme.h
index 1e51351cde4ed6d2b63809bc4a630dac91aa6365..33604c521e8af5c507a0ab0d98763e1c5f00dc5e 100644 (file)
@@ -1,10 +1,10 @@
 /*
- * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2006 Hiroyuki Yamamoto & the Sylpheed-Claws team
+ * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
+ * Copyright (C) 1999-2007 the Claws Mail team
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * the Free Software Foundation; either version 3 of the License, or
  * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
@@ -13,8 +13,8 @@
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * 
  */
 
 #ifndef SGPGME_H
@@ -44,8 +44,11 @@ gpgme_data_t sgpgme_decrypt_verify   (gpgme_data_t cipher,
                                         gpgme_ctx_t ctx);
 gchar *sgpgme_get_encrypt_data         (GSList *recp_names,
                                         gpgme_protocol_t proto);
-gboolean sgpgme_setup_signers(gpgme_ctx_t ctx, PrefsAccount *account);
+gboolean sgpgme_setup_signers(gpgme_ctx_t ctx, PrefsAccount *account,
+                             const gchar *from_addr);
 void sgpgme_check_create_key(void);
 gboolean sgpgme_has_secret_key(void);
 void sgpgme_create_secret_key(PrefsAccount *account, gboolean ask_create);
+void *sgpgme_data_release_and_get_mem(gpgme_data_t data, size_t *len);
+
 #endif /* SGPGME_H */