Handling of email attachments. More...
Go to the source code of this file.
Data Structures | |
struct | AttachPtr |
An email to which things will be attached. More... | |
struct | AttachCtx |
A set of attachments. More... | |
Enumerations | |
enum | ExpandoDataAttach { ED_ATT_CHARSET = 1 , ED_ATT_NUMBER , ED_ATT_TREE } |
Expando UIDs for Attachments. More... | |
Functions | |
void | mutt_actx_add_attach (struct AttachCtx *actx, struct AttachPtr *attach) |
Add an Attachment to an Attachment Context. | |
void | mutt_actx_ins_attach (struct AttachCtx *actx, struct AttachPtr *attach, int aidx) |
Insert an Attachment into an Attachment Context at Specified Index. | |
void | mutt_actx_add_body (struct AttachCtx *actx, struct Body *b) |
Add an email body to an Attachment Context. | |
void | mutt_actx_add_fp (struct AttachCtx *actx, FILE *fp_new) |
Save a File handle to the Attachment Context. | |
void | mutt_actx_free (struct AttachCtx **ptr) |
Free an Attachment Context. | |
void | mutt_actx_entries_free (struct AttachCtx *actx) |
Free entries in an Attachment Context. | |
struct AttachCtx * | mutt_actx_new (void) |
Create a new Attachment Context. | |
void | mutt_aptr_free (struct AttachPtr **ptr) |
Free an Attachment Pointer. | |
struct AttachPtr * | mutt_aptr_new (void) |
Create a new Attachment Pointer. | |
void | attach_arrow (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
void | attach_C (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Attachment: Charset - Implements ExpandoRenderData::get_string() -. | |
void | attach_c (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Attachment: Requires conversion flag - Implements ExpandoRenderData::get_string() -. | |
void | attach_D (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Attachment: Deleted - Implements ExpandoRenderData::get_string() -. | |
void | attach_d (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Attachment: Description - Implements ExpandoRenderData::get_string() -. | |
void | attach_e (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Attachment: MIME type - Implements ExpandoRenderData::get_string() -. | |
void | attach_F (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Attachment: Filename in header - Implements ExpandoRenderData::get_string() -. | |
void | attach_f (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Attachment: Filename - Implements ExpandoRenderData::get_string() -. | |
void | attach_I (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Attachment: Disposition flag - Implements ExpandoRenderData::get_string() -. | |
void | attach_M (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Attachment: MIME subtype - Implements ExpandoRenderData::get_string() -. | |
void | attach_m (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Attachment: Major MIME type - Implements ExpandoRenderData::get_string() -. | |
void | attach_Q (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Attachment: Attachment counting - Implements ExpandoRenderData::get_string() -. | |
void | attach_s (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Attachment: Size - Implements ExpandoRenderData::get_string() -. | |
void | attach_T (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Attachment: Tree characters - Implements ExpandoRenderData::get_string() -. | |
void | attach_t (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Attachment: Is Tagged - Implements ExpandoRenderData::get_string() -. | |
void | attach_u (const struct ExpandoNode *node, void *data, MuttFormatFlags flags, struct Buffer *buf) |
Attachment: Unlink flag - Implements ExpandoRenderData::get_string() -. | |
long | attach_n_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
Attachment: Index number - Implements ExpandoRenderData::get_number() -. | |
long | attach_X_num (const struct ExpandoNode *node, void *data, MuttFormatFlags flags) |
Attachment: Number of MIME parts - Implements ExpandoRenderData::get_number() -. | |
Handling of email attachments.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file attach.h.
enum ExpandoDataAttach |
Expando UIDs for Attachments.
Enumerator | |
---|---|
ED_ATT_CHARSET | |
ED_ATT_NUMBER | |
ED_ATT_TREE |
Add an Attachment to an Attachment Context.
actx | Attachment context |
attach | Attachment to add |
Definition at line 65 of file attach.c.
Insert an Attachment into an Attachment Context at Specified Index.
actx | Attachment context |
attach | Attachment to insert |
aidx | Index to insert attachment at |
Definition at line 91 of file attach.c.
Add an email body to an Attachment Context.
Definition at line 142 of file attach.c.
void mutt_actx_add_fp | ( | struct AttachCtx * | actx, |
FILE * | fp_new | ||
) |
Save a File handle to the Attachment Context.
actx | Attachment context |
fp_new | File handle to save |
Definition at line 121 of file attach.c.
void mutt_actx_free | ( | struct AttachCtx ** | ptr | ) |
Free an Attachment Context.
[out] | ptr | Attachment context |
Definition at line 198 of file attach.c.
void mutt_actx_entries_free | ( | struct AttachCtx * | actx | ) |
Free entries in an Attachment Context.
actx | Attachment context |
Definition at line 162 of file attach.c.
struct AttachCtx * mutt_actx_new | ( | void | ) |
Create a new Attachment Context.
ptr | New Attachment Context |
Definition at line 189 of file attach.c.
void mutt_aptr_free | ( | struct AttachPtr ** | ptr | ) |
struct AttachPtr * mutt_aptr_new | ( | void | ) |
void attach_arrow | ( | const struct ExpandoNode * | node, |
void * | data, | ||
MuttFormatFlags | flags, | ||
struct Buffer * | buf | ||
) |