mail-cache-lookup.c revision 6ef7e31619edfaa17ed044b45861d106a86191ef
0N/A#include "mail-cache-private.h"
return ret;
unsigned int data_size;
unsigned int field;
int ret;
*offset = 0;
&cache_rec) < 0)
return ret;
unsigned int i, count;
for (i = 0; i < count; i++) {
return TRUE;
return FALSE;
int ret;
return ret;
return ret;
int ret;
NULL), 0,
unsigned int field)
struct mail_cache_lookup_context {
bool found;
unsigned char *dest;
size_t i;
for (i = 0; i < data_size; i++)
unsigned int data_size;
int ret;
return ret;
&ctx);
0, data_size);
&ctx);
struct header_lookup_data_rec {
struct header_lookup_data {
struct header_lookup_context {
unsigned int *fields;
unsigned int fields_count;
unsigned int max_field;
unsigned int i, lines_count;
if (lines[i] == 0)
lines_count = i;
for (i = 0; i < lines_count; i++) {
unsigned int fields_count)
int ret;
if (fields_count == 0)
t_push();
for (i = 0; i < fields_count; i++) {
t_pop();
if (ret <= 0) {
t_pop();
return ret;
t_pop();
for (i = 0; i < size; i++) {
t_pop();