imap-util.h revision b37634f5bf23ff8c72b88ef6966fd5c730017419
48566ca412a7cf3b42512fd0ec112744778e5da0Timo Sirainen /* rest of the bits are custom flags */
48566ca412a7cf3b42512fd0ec112744778e5da0Timo Sirainen/* growing number of flags isn't very easy. biggest problem is that they're
48566ca412a7cf3b42512fd0ec112744778e5da0Timo Sirainen stored into unsigned int, which is 32bit almost everywhere. another thing
48566ca412a7cf3b42512fd0ec112744778e5da0Timo Sirainen to remember is that with maildir format, the custom flags are stored into
48566ca412a7cf3b42512fd0ec112744778e5da0Timo Sirainen file name using 'a'..'z' letters which gets us exactly the needed 26
48566ca412a7cf3b42512fd0ec112744778e5da0Timo Sirainen flags. if more is added, the current code breaks. */
8d587838c414c48a331f0b54cd7ffd97e5024abdTimo Sirainen/* Return flags as a space separated string. If custom flags don't have entry
678d0463849ba777106eb7875f27db07a5d8e3dfTimo Sirainen in flags->custom_flags[], or if it's NULL or "" the flag s ignored. */
4ee00532a265bdfb38539d811fcd12d51210ac35Timo Sirainenconst char *imap_write_flags(const struct mail_full_flags *flags);