4 * IMAP METADATA extension (yet another ugly disaster)
17 #include <sys/types.h>
19 #if TIME_WITH_SYS_TIME
20 # include <sys/time.h>
24 # include <sys/time.h>
36 #include "sysdep_decls.h"
37 #include "citserver.h"
40 #include "serv_extensions.h"
47 #include "internet_addressing.h"
48 #include "serv_imap.h"
49 #include "imap_tools.h"
50 #include "imap_fetch.h"
51 #include "imap_misc.h"
57 * Implements the GETMETADATA command.
59 ( This is currently a stub which returns no data, because we are not yet
60 * using any server annotations.
62 void imap_getmetadata(int num_parms, char *parms[]) {
64 cprintf("%s OK GETMETADATA complete\r\n", parms[0]);
70 * Implements the SETMETADATA command.
72 * This is currently a stub which fools the client into thinking that there
73 * is no remaining space available to store annotations.
75 void imap_setmetadata(int num_parms, char *parms[]) {
77 cprintf("%s NO [METADATA TOOMANY] SETMETADATA failed\r\n", parms[0]);