mail-search.c revision 6ef7e31619edfaa17ed044b45861d106a86191ef
/* Copyright (C) 2002 Timo Sirainen */
#include "lib.h"
#include "buffer.h"
#include "mail-search.h"
{
if (!args->match_always)
else {
if (!full_reset)
else {
}
}
}
}
void *context)
{
struct mail_search_arg *subarg;
return;
/* sublist of conditions */
/* didn't match */
break;
}
}
/* OR-list of conditions */
/* matched */
break;
}
} else {
}
}
} else {
/* just a single condition */
}
}
void *context)
{
int result;
result = 1;
/* didn't match */
return 0;
}
result = -1;
}
return result;
}
static void
{
static const char *date_hdr = "Date";
struct mail_search_arg *subarg;
return;
case SEARCH_OR:
case SEARCH_SUB:
}
}
break;
case SEARCH_SENTBEFORE:
case SEARCH_SENTON:
case SEARCH_SENTSINCE:
break;
case SEARCH_HEADER:
case SEARCH_HEADER_ADDRESS:
sizeof(const char *));
break;
case SEARCH_BODY:
break;
case SEARCH_TEXT:
break;
default:
break;
}
}
const char *const *
bool *have_headers, bool *have_body)
{
bool have_text;
return NULL;
}