summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org.ua>2002-11-05 13:46:07 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2002-11-05 13:46:07 (GMT)
commit77f4f2a634a25f47432e5d0bf65a19f6ce67b55e (patch) (side-by-side diff)
treeef32635c34a775e63ddffef1c3202de25af56cb9
parent268030e3a835a8251b83fc0b27b5f7080ca7b288 (diff)
downloadmailutils-77f4f2a634a25f47432e5d0bf65a19f6ce67b55e.tar.gz
mailutils-77f4f2a634a25f47432e5d0bf65a19f6ce67b55e.tar.bz2
(mail_from0): New function.
(MSG_ALL,MSG_NODELETED,MSG_SILENT): New macros.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--mail/mail.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/mail/mail.h b/mail/mail.h
index f4952a6..f2fae07 100644
--- a/mail/mail.h
+++ b/mail/mail.h
@@ -171,6 +171,7 @@ extern int mail_file __P ((int argc, char **argv));
extern int mail_folders __P ((int argc, char **argv));
extern int mail_followup __P ((int argc, char **argv));
extern int mail_from __P ((int argc, char **argv));
+extern int mail_from0 __P((int msgno, int verbose));
extern int mail_headers __P ((int argc, char **argv));
extern int mail_hold __P ((int argc, char **argv));
extern int mail_help __P ((int argc, char **argv));
@@ -300,7 +301,7 @@ extern int util_get_hdr_value __P ((header_t hdr, const char *name, char **value
extern int util_merge_addresses __P((char **addr_str, const char *value));
extern int util_header_expand __P((header_t *hdr));
extern int util_get_message __P((mailbox_t mbox, size_t msgno,
- message_t *msg, int delflag));
+ message_t *msg, int flag));
extern int ml_got_interrupt __P ((void));
extern void ml_clear_interrupt __P ((void));
@@ -330,6 +331,11 @@ extern char *readline __P ((const char *prompt));
#define _PATH_SENDMAIL "/usr/lib/sendmail"
#endif
+/* Flags for util_get_message */
+#define MSG_ALL 0
+#define MSG_NODELETED 0x0001
+#define MSG_SILENT 0x0002
+
/* Message attributes */
#define MAIL_ATTRIBUTE_MBOXED 0x0001
#define MAIL_ATTRIBUTE_SAVED 0x0002

Return to:

Send suggestions and report system problems to the System administrator.