maildir-keywords.c revision 79fcd3f95a6266cc62ceaa753e56dd4456ab7c4b
2N/A#include "file-dotlock.h"
2N/A#include "write-full.h"
2N/A#include "maildir-storage.h"
2N/A#include "maildir-uidlist.h"
2N/A#include "maildir-keywords.h"
2N/Astruct maildir_keywords {
2N/Astruct maildir_keywords_sync_ctx {
2N/A const char *, MAILDIR_MAX_KEYWORDS);
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 *
char, MAILDIR_MAX_KEYWORDS);
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;