maildir-keywords.c revision 6e1e9e341ffe21a69a23229c2b896d03066a071e
248N/A#include "file-dotlock.h"
248N/A#include "write-full.h"
248N/A#include "maildir-storage.h"
248N/A#include "maildir-uidlist.h"
248N/A#include "maildir-keywords.h"
814N/Astruct maildir_keywords {
248N/Astruct maildir_keywords_sync_ctx {
const char **strp;
if (p == NULL) {
if (p == NULL) {
if (p == NULL)
unsigned int chridx)
const char **strp;
char *new_name;
const char *const *keywords;
unsigned int i, count;
int idx;
if (idx >= 0)
return idx;
for (i = 0; i < count; i++) {
const char *const *keywords;
unsigned int count;
return NULL;
return NULL;
unsigned int i, count;
int fd;
t_push();
t_pop();
for (i = 0; i < count; i++) {
t_pop();
t_pop();
t_pop();
struct maildir_keywords_sync_ctx *
return ctx;
char keyword)
const char *name;
i_unreached();
return idx;
unsigned int idx)
const char *const *name_p;
char *chr_p;
int chridx;
return *chr_p;
if (chridx < 0)
return *chr_p;