};
rx_t *SpamList = NULL, *NoSpamList = NULL;
+string_list_t *AutoViewList, *AlternativeOrderList, *MimeLookupList;
static char *mailcap_init(void)
{
}
RETURN();
};
+
+ void auto_view(string_t s) {
+ string_list_add(&AutoViewList, s);
+ RETURN();
+ };
+ void unauto_view(string_t s) {
+ if (m_strcmp(s, "*")) {
+ string_list_remove(&AutoViewList, s);
+ } else {
+ string_list_wipe(&AutoViewList);
+ }
+ RETURN();
+ };
+
+ void alternative_order(string_t s) {
+ string_list_add(&AlternativeOrderList, s);
+ RETURN();
+ };
+ void unalternative_order(string_t s) {
+ if (m_strcmp(s, "*")) {
+ string_list_remove(&AlternativeOrderList, s);
+ } else {
+ string_list_wipe(&AlternativeOrderList);
+ }
+ RETURN();
+ };
+
+ void lookup(string_t s) {
+ string_list_add(&MimeLookupList, s);
+ RETURN();
+ };
+ void unlookup(string_t s) {
+ if (m_strcmp(s, "*")) {
+ string_list_remove(&MimeLookupList, s);
+ } else {
+ string_list_wipe(&MimeLookupList);
+ }
+ RETURN();
+ };
};
/****************************************************************************/