ec_message_set_first_part
Name
ec_message_set_first_part — Accessor function for changing the top level mime part for a message
Synopsis
#include "ec_message.h"
| void **ec_message_set_first_part** (
| mess, | |
| | part)
; | |
Description
Set or change the top level mime part for a message.
Note
You should not set mess->top directly. Rather, you should use this function so that proper accounting can occur.
Note
Does not manipulate the reference count of the part but will delete the reference to the old part.
- mess
-
The message. A pointer to an ec_message struct. For documentation of this data structure see “ec_message”
- part
-
The message part. A pointer to an ec_message_part struct. For documentation of this data structure see “ec_message_part”
This function returns void.
It is legal to call this function in any thread.