Hidden preference to limit PGP autocompletion
[claws.git] / src / plugins / pgpcore / prefs_gpg.h
index aa1edf45272e3d28982659731de0498a8701a81d..3eb9c34b7c5a28af02ab181a05938293bb4615e2 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 2004-2011 the Claws Mail team
+ * Copyright (C) 2004-2015 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
@@ -17,6 +17,9 @@
  * 
  */
 
+#ifndef GPGMEGTK_PREFS_GPG_H
+#define GPGMEGTK_PREFS_GPG_H
+
 typedef struct GPGConfig GPGConfig;
 typedef struct GPGAccountConfig GPGAccountConfig;
 
@@ -31,6 +34,8 @@ typedef enum {
 struct GPGConfig
 {
        gboolean         auto_check_signatures;
+       gboolean         autocompletion;
+       gint             autocompletion_limit;
        gboolean         use_gpg_agent;
        gboolean         store_passphrase;
        gint             store_passphrase_timeout;
@@ -38,6 +43,7 @@ struct GPGConfig
        gboolean         gpg_warning;
        gboolean         gpg_ask_create_key;
        gchar           *skip_encryption_warning;
+       gchar           *gpg_path;
 };
 
 struct GPGAccountConfig
@@ -57,3 +63,6 @@ void prefs_gpg_enable_agent(gboolean enable);
 void prefs_gpg_add_skip_encryption_warning(const gchar *systemid);
 void prefs_gpg_remove_skip_encryption_warning(const gchar *systemid);
 gboolean prefs_gpg_should_skip_encryption_warning(const gchar *systemid);
+gboolean prefs_gpg_auto_check_signatures(void);
+
+#endif /* GPGMEGTK_PREFS_GPG_H */