rfc2822_remove_header
Last updated March 2020
Name
rfc2822_remove_header — Create a new header
Synopsis
#include "rfc2822_parser.h"
| int **rfc2822_remove_header** (
| ctx, | |
| | h)
; | |
Description
Remove a header created using rfc2822_new_header.
Note
When you remove a header, the memory associated with it is freed; be sure to deal with any external references to that header.
- ctx
-
The rfc2822_context associated with the header.
- h
-
The header you wish to remove.
This function returns the index of the removed header.
It is legal to call this function in any thread.
See Also
Was this page helpful?