Mercurial > dovecot > original-hg > dovecot-1.2
comparison src/lib-index/mbox/mbox-index.c @ 161:b045148bf408 HEAD
Whops, didn't compile :) Removed beginning of wrong way to fix custom flags.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 06 Sep 2002 16:45:15 +0300 |
parents | ff05b320482c |
children | aeb4e8d48aa2 |
comparison
equal
deleted
inserted
replaced
160:ff05b320482c | 161:b045148bf408 |
---|---|
6 #include "mbox-index.h" | 6 #include "mbox-index.h" |
7 #include "mail-index-util.h" | 7 #include "mail-index-util.h" |
8 | 8 |
9 static MailIndex mbox_index; | 9 static MailIndex mbox_index; |
10 | 10 |
11 void mbox_header_init_context(MboxHeaderContext *ctx, | 11 void mbox_header_init_context(MboxHeaderContext *ctx) |
12 const char *custom_flags[MAIL_CUSTOM_FLAGS_COUNT]) | |
13 { | 12 { |
14 memset(ctx, 0, sizeof(MboxHeaderContext)); | 13 memset(ctx, 0, sizeof(MboxHeaderContext)); |
15 memcpy(ctx->custom_flags, custom_flags, sizeof(ctx->custom_flags)); | |
16 md5_init(&ctx->md5); | 14 md5_init(&ctx->md5); |
17 } | 15 } |
18 | 16 |
19 static MailFlags mbox_get_status_flags(const char *value, unsigned int len) | 17 static MailFlags mbox_get_status_flags(const char *value, unsigned int len) |
20 { | 18 { |