1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:57:35 +00:00

LibIMAP: Support for the LIST and SELECT commands

This commit is contained in:
x-yl 2021-06-01 18:39:50 +04:00 committed by Ali Mohammad Pur
parent 0f42ea6770
commit 2f04d24b66
5 changed files with 343 additions and 1 deletions

View file

@ -43,11 +43,24 @@ private:
void parse_untagged();
StringView parse_atom();
StringView parse_quoted_string();
StringView parse_string();
Optional<StringView> parse_nstring();
ResponseStatus parse_status();
template<typename T>
Vector<T> parse_list(T (*converter)(StringView));
static MailboxFlag parse_mailbox_flag(StringView s);
StringView parse_while(Function<bool(u8)> should_consume);
void parse_capability_response();
ListItem parse_list_item();
StringView parse_literal_string();
StringView parse_astring();
};
}