projects
/
claws.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make SpamReport plugin use the password store.
[claws.git]
/
src
/
plugins
/
spam_report
/
spam_report_prefs.h
diff --git
a/src/plugins/spam_report/spam_report_prefs.h
b/src/plugins/spam_report/spam_report_prefs.h
index 08027f498d8af4c4f7ad337b306d9749229d07dc..ed46b3a004fee3d0f50846bc406dbaca82661630 100644
(file)
--- a/
src/plugins/spam_report/spam_report_prefs.h
+++ b/
src/plugins/spam_report/spam_report_prefs.h
@@
-24,6
+24,7
@@
#include <glib.h>
#include "procmsg.h"
#include <glib.h>
#include "procmsg.h"
+#include "passwordstore.h"
#define SPAM_REPORT_USERAGENT "Claws Mail SpamReport plugin "
#define SPAM_REPORT_USERAGENT "Claws Mail SpamReport plugin "
@@
-66,4
+67,9
@@
extern SpamReportPrefs spamreport_prefs;
void spamreport_prefs_init(void);
void spamreport_prefs_done(void);
void spamreport_prefs_init(void);
void spamreport_prefs_done(void);
+#define spamreport_passwd_set(id, pwd) \
+ passwd_store_set(PWS_PLUGIN, "SpamReport", id, pwd, FALSE)
+#define spamreport_passwd_get(id) \
+ passwd_store_get(PWS_PLUGIN, "SpamReport", id)
+
#endif
#endif