Pike v8.1 release 6

Method Protocols.IMAP.parse_line()->get_simple_list()


Method get_simple_list

mapping get_simple_list(int max_depth)

Description

Parses an object that (recursivly) can contain atoms (possible with options in brackets) or lists. Note that strings are not accepted, as it is a little difficult to wait for the continuation of the request.

FIXME: This function is used to read fetch commands. This breaks rfc-2060 compliance, as the names of headers can be represented as string literals.