/* not reached */
}
-static int parse_unignore (BUFFER * buf, BUFFER * s,
- unsigned long data __attribute__ ((unused)),
- BUFFER * err __attribute__ ((unused)))
-{
- do {
- mutt_extract_token (buf, s, 0);
-
- /* don't add "*" to the unignore list */
- if (m_strcmp(buf->data, "*")) {
- string_list_add(&UnIgnore, buf->data);
- string_list_remove(&Ignore, buf->data);
- } else {
- string_list_wipe(&Ignore);
- }
- } while (MoreArgs (s));
-
- return 0;
-}
-
-static int parse_ignore (BUFFER * buf, BUFFER * s,
- unsigned long data __attribute__ ((unused)),
- BUFFER * err __attribute__ ((unused)))
-{
- do {
- mutt_extract_token (buf, s, 0);
- if (m_strcmp(buf->data, "*")) {
- string_list_remove(&UnIgnore, buf->data);
- } else {
- string_list_wipe(&UnIgnore);
- }
- string_list_add(&Ignore, buf->data);
- } while (MoreArgs(s));
- return 0;
-}
-
-static int parse_list(BUFFER * buf, BUFFER * s, unsigned long data,
- BUFFER * err __attribute__ ((unused)))
-{
- do {
- mutt_extract_token (buf, s, 0);
- string_list_add ((string_list_t **) data, buf->data);
- } while (MoreArgs(s));
- return 0;
-}
-
-static int parse_unlist (BUFFER * buf, BUFFER * s, unsigned long data,
- BUFFER * err __attribute__ ((unused)))
-{
- do {
- mutt_extract_token (buf, s, 0);
- /*
- * Check for deletion of entire list
- */
- if (!m_strcmp(buf->data, "*")) {
- string_list_wipe((string_list_t **) data);
- break;
- }
- string_list_remove((string_list_t **) data, buf->data);
- }
- while (MoreArgs (s));
-
- return 0;
-}
-
/* always wise to do what someone else did before */
static void _attachments_clean (void) {
int i;