diff options
author | Brendan Cully <brendan@kublai.com> | 2005-08-05 02:16:46 +0000 |
---|---|---|
committer | Brendan Cully <brendan@kublai.com> | 2005-08-05 02:16:46 +0000 |
commit | 6308d15edcf520580c70d8a423377733e7c7cac7 (patch) | |
tree | b683b99d42e650b5c1754a8e35a757f926318caf /attach.h | |
parent | 516bf8dd760dea83113207907f163b48996f61ab (diff) |
Move some attachment-related prototypes and structures into attach.h
from the global headers. A small step towards sane dependency tracking
and code cleanliness.
Diffstat (limited to 'attach.h')
-rw-r--r-- | attach.h | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -18,6 +18,26 @@ /* common protos for compose / attach menus */ +#ifndef _ATTACH_H_ +#define _ATTACH_H_ 1 + +#include "mutt_menu.h" + +typedef struct attachptr +{ + BODY *content; + int parent_type; + char *tree; + int level; + int num; + unsigned int unowned : 1; /* don't unlink on detach */ +} ATTACHPTR; + +ATTACHPTR **mutt_gen_attach_list (BODY *, int, ATTACHPTR **, short *, short *, + int, int); +void mutt_update_tree (ATTACHPTR **, short); +int mutt_view_attachment (FILE*, BODY *, int, HEADER *, ATTACHPTR **, short); + int mutt_tag_attach (MUTTMENU *menu, int n, int m); int mutt_attach_display_loop (MUTTMENU *menu, int op, FILE *fp, HEADER *hdr, BODY *cur, ATTACHPTR ***idxp, short *idxlen, short *idxmax, @@ -32,3 +52,5 @@ void mutt_attach_bounce (FILE *, HEADER *, ATTACHPTR **, short, BODY *); void mutt_attach_resend (FILE *, HEADER *, ATTACHPTR **, short, BODY *); void mutt_attach_forward (FILE *, HEADER *, ATTACHPTR **, short, BODY *); void mutt_attach_reply (FILE *, HEADER *, ATTACHPTR **, short, BODY *, int); + +#endif /* _ATTACH_H_ */ |