Add a plugin method to allow updating stored passwords on master password change.
[claws.git] / src / common / plugin.h
index 913795b80c8cc70f09bc151186836f18b0e298cc..446df5e4be6496aaed53c370c01dde60a9d23da1 100644 (file)
@@ -1,6 +1,6 @@
 /*
- * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2012 Hiroyuki Yamamoto and the Claws Mail Team
+ * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
+ * Copyright (C) 2002-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
@@ -14,7 +14,6 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
- * 
  */
 
 #ifndef PLUGIN_H
@@ -48,6 +47,8 @@ const gchar *plugin_name      (void);
 const gchar *plugin_desc       (void);
 const gchar *plugin_version    (void);
 struct PluginFeature *plugin_provides (void);
+const gchar *plugin_type       (void);
+const gchar *plugin_licence    (void);
 
 /* Functions by the Claws Mail plugin system */
 Plugin *plugin_load            (const gchar     *filename,
@@ -58,6 +59,8 @@ void plugin_unload_all                (const gchar     *type);
 void plugin_save_list          (void);
 void plugin_load_standard_plugins (void);
 
+void plugins_master_password_change(const gchar *oldp, const gchar *newp);
+
 GSList *plugin_get_list                (void);
 GSList *plugin_get_unloaded_list(void);
 const gchar *plugin_get_name   (Plugin          *plugin);