mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-13 03:29:49 +00:00
LibIMAP: Support for the LIST and SELECT commands
This commit is contained in:
parent
0f42ea6770
commit
2f04d24b66
Notes:
sideshowbarker
2024-07-18 12:25:08 +09:00
Author: https://github.com/X-yl
Commit: 2f04d24b66
Pull-request: https://github.com/SerenityOS/serenity/pull/7735
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/MaxWipfli
Reviewed-by: https://github.com/alimpfard
5 changed files with 343 additions and 1 deletions
|
@ -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();
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue