step


Description:

public MimeParserState step (ref uint8[] databuffer)

Parse the next part of the MIME message.

If unstep has been called, then continue to return the same state for that many calls.

If the step is CAMEL_MIME_PARSER_STATE_BODY then the databuffer and datalength pointers will be setup to point to the internal data buffer of the scanner and may be processed as required. Any filters will have already been applied to this data.

Refer to the state diagram elsewhere for a full listing of the states an application is gauranteed to get from the scanner.

Parameters:

this

MIME parser object

databuffer

Pointer to accept a pointer to the data associated with this step (if any). May be null, in which case datalength is also ingored.

datalength

Pointer to accept a pointer to the data length associated with this step (if any).

Returns:

The current new state of the parser is returned.




2022 vala-language.org