mail-search.c revision 5ce2084ada06ade9f44fc2914c34658e9a842dc1
/* Copyright (C) 2002 Timo Sirainen */
#include "lib.h"
#include "mail-search.h"
{
}
}
void *context)
{
struct mail_search_arg *subarg;
return;
/* sublist of conditions */
/* failed */
break;
}
}
/* OR-list of conditions */
/* matched */
break;
}
}
} else {
/* just a single condition */
}
}
void *context)
{
int result;
result = 1;
/* failed, abort */
return -1;
}
result = 0;
}
return result;
}
{
struct mail_search_arg *subarg;
return;
case SEARCH_OR:
case SEARCH_SUB:
}
}
break;
case SEARCH_SENTBEFORE:
case SEARCH_SENTON:
case SEARCH_SENTSINCE:
case SEARCH_FROM:
case SEARCH_TO:
case SEARCH_CC:
case SEARCH_BCC:
case SEARCH_SUBJECT:
case SEARCH_IN_REPLY_TO:
case SEARCH_MESSAGE_ID:
case SEARCH_HEADER:
*have_headers = TRUE;
break;
case SEARCH_BODY:
break;
case SEARCH_TEXT:
break;
default:
break;
}
}
{
}