index-sort.c revision 55a7410569737197afb302b07b488973324b0cc5
/* Copyright (C) 2002 Timo Sirainen */
#include "lib.h"
#include "obuffer.h"
#include "rfc822-date.h"
#include "imap-envelope.h"
#include "imap-message-cache.h"
#include "mail-index.h"
#include "index-storage.h"
#include "index-sort.h"
unsigned int uid)
{
return NULL;
}
}
}
}
{
if (type != MAIL_SORT_SIZE) {
i_unreached();
return 0;
}
}
{
const char *envelope;
switch (type) {
case MAIL_SORT_CC:
break;
case MAIL_SORT_DATE:
break;
case MAIL_SORT_FROM:
break;
case MAIL_SORT_SUBJECT:
break;
case MAIL_SORT_TO:
break;
default:
i_unreached();
return NULL;
}
/* get field from hopefully cached envelope */
}
{
const char *str;
int timezone_offset;
switch (type) {
case MAIL_SORT_ARRIVAL:
case MAIL_SORT_DATE:
return 0;
return 0;
default:
i_unreached();
return 0;
}
}
static void _input_reset(void *context)
{
}
{
for (i = 0; i < count; i++) {
}
}
};