Skip to main content

Name

rfc2822_find_next_header — Return the next header

Synopsis

#include "rfc2822_parser.h"

| rfc2822_field **rfc2822_find_next_header** ( | last); |   |

rfc2822_field * <var class="pdparam">last</var>;

Description

Return the next header.

Parameters

last

The previous header.

Return Values

On success this function returns the next header; on failure, it returns NULL. For a definition of this struct see rfc2822_field. When you have finished with this struct use rfc2822_free_header to free it.

Threading

It is legal to call this function in any thread.

See Also

Was this page helpful?