/* Copyright (c) 2015-2018 Dovecot authors, see the included COPYING file */
#include "imap-common.h"
#include "base64.h"
#include "str.h"
#include "imap-commands.h"
#include "imap-state.h"
{
/* FIXME: state importing can cause unnecessarily large memory usage
aren't currently sent asynchronously. so this command is disabled
for now. */
#if 0
int ret;
return FALSE;
"BAD Can't be used in SELECTED state");
return TRUE;
}
ret = 0;
else {
}
if (ret < 0) {
"NO Failed to restore state: %s", error));
} else if (ret == 0) {
"BAD Broken state: %s", error));
} else {
}
return TRUE;
"NO Can't save state: %s", error));
return TRUE;
}
return TRUE;
} else {
return TRUE;
}
#else
return TRUE;
#endif
}