UPdate prototypes.
Showing
4 changed files
with
12 additions
and
1 deletions
... | @@ -48,6 +48,7 @@ extern int attribute_create __P ((attribute_t *, void *)); | ... | @@ -48,6 +48,7 @@ extern int attribute_create __P ((attribute_t *, void *)); |
48 | extern void attribute_destroy __P ((attribute_t *, void *)); | 48 | extern void attribute_destroy __P ((attribute_t *, void *)); |
49 | extern void * attribute_get_owner __P ((attribute_t)); | 49 | extern void * attribute_get_owner __P ((attribute_t)); |
50 | extern int attribute_is_modified __P ((attribute_t)); | 50 | extern int attribute_is_modified __P ((attribute_t)); |
51 | extern int attribute_clear_modified __P ((attribute_t)); | ||
51 | 52 | ||
52 | extern int attribute_is_userflag __P ((attribute_t, int)); | 53 | extern int attribute_is_userflag __P ((attribute_t, int)); |
53 | extern int attribute_is_seen __P ((attribute_t)); | 54 | extern int attribute_is_seen __P ((attribute_t)); | ... | ... |
... | @@ -40,6 +40,8 @@ typedef struct _body *body_t; | ... | @@ -40,6 +40,8 @@ typedef struct _body *body_t; |
40 | extern int body_create __P ((body_t *, void *owner)); | 40 | extern int body_create __P ((body_t *, void *owner)); |
41 | extern void body_destroy __P ((body_t *, void *owner)); | 41 | extern void body_destroy __P ((body_t *, void *owner)); |
42 | extern void * body_get_owner __P ((body_t)); | 42 | extern void * body_get_owner __P ((body_t)); |
43 | extern int body_is_modified __P ((body_t)); | ||
44 | extern int body_clear_modified __P ((body_t)); | ||
43 | 45 | ||
44 | extern int body_get_stream __P ((body_t, stream_t *)); | 46 | extern int body_get_stream __P ((body_t, stream_t *)); |
45 | extern int body_set_stream __P ((body_t, stream_t, void *owner)); | 47 | extern int body_set_stream __P ((body_t, stream_t, void *owner)); | ... | ... |
... | @@ -38,6 +38,7 @@ extern "C" { | ... | @@ -38,6 +38,7 @@ extern "C" { |
38 | #define MU_HEADER_RECEIVED "Received" | 38 | #define MU_HEADER_RECEIVED "Received" |
39 | #define MU_HEADER_DATE "Date" | 39 | #define MU_HEADER_DATE "Date" |
40 | #define MU_HEADER_FROM "From" | 40 | #define MU_HEADER_FROM "From" |
41 | #define MU_HEADER_SENDER "Sender" | ||
41 | #define MU_HEADER_RESENT_FROM "Resent-From" | 42 | #define MU_HEADER_RESENT_FROM "Resent-From" |
42 | #define MU_HEADER_SUBJECT "Subject" | 43 | #define MU_HEADER_SUBJECT "Subject" |
43 | #define MU_HEADER_SENDER "Sender" | 44 | #define MU_HEADER_SENDER "Sender" |
... | @@ -53,13 +54,18 @@ extern "C" { | ... | @@ -53,13 +54,18 @@ extern "C" { |
53 | #define MU_HEADER_MESSAGE_ID "Message-ID" | 54 | #define MU_HEADER_MESSAGE_ID "Message-ID" |
54 | #define MU_HEADER_RESENT_MESSAGE_ID "Resent-Message-ID" | 55 | #define MU_HEADER_RESENT_MESSAGE_ID "Resent-Message-ID" |
55 | #define MU_HEADER_IN_REPLY_TO "In-Reply-To" | 56 | #define MU_HEADER_IN_REPLY_TO "In-Reply-To" |
57 | #define MU_HEADER_REFERENCE "Reference" | ||
56 | #define MU_HEADER_ENCRYPTED "Encrypted" | 58 | #define MU_HEADER_ENCRYPTED "Encrypted" |
57 | #define MU_HEADER_PRECEDENCE "Precedence" | 59 | #define MU_HEADER_PRECEDENCE "Precedence" |
58 | #define MU_HEADER_STATUS "Status" | 60 | #define MU_HEADER_STATUS "Status" |
59 | #define MU_HEADER_CONTENT_LENGTH "Content-Length" | 61 | #define MU_HEADER_CONTENT_LENGTH "Content-Length" |
60 | #define MU_HEADER_CONTENT_TYPE "Content-Type" | 62 | #define MU_HEADER_CONTENT_LANGUAGE "Content-Language" |
61 | #define MU_HEADER_CONTENT_ENCODING "Content-transfer-encoding" | 63 | #define MU_HEADER_CONTENT_ENCODING "Content-transfer-encoding" |
64 | #define MU_HEADER_CONTENT_TYPE "Content-Type" | ||
62 | #define MU_HEADER_MIME_VERSION "MIME-Version" | 65 | #define MU_HEADER_MIME_VERSION "MIME-Version" |
66 | #define MU_HEADER_X_UIDL "X-UIDL" | ||
67 | #define MU_HEADER_X_UID "X-UID" | ||
68 | #define MU_HEADER_X_IMAPBASE "X-IMAPbase" | ||
63 | 69 | ||
64 | /* Mime support header attribute */ | 70 | /* Mime support header attribute */ |
65 | 71 | ||
... | @@ -73,6 +79,7 @@ extern void header_destroy __P ((header_t *, void *)); | ... | @@ -73,6 +79,7 @@ extern void header_destroy __P ((header_t *, void *)); |
73 | extern void * header_get_owner __P ((header_t)); | 79 | extern void * header_get_owner __P ((header_t)); |
74 | 80 | ||
75 | extern int header_is_modified __P ((header_t)); | 81 | extern int header_is_modified __P ((header_t)); |
82 | extern int header_clear_modified __P ((header_t)); | ||
76 | 83 | ||
77 | extern int header_set_value __P ((header_t, const char *, | 84 | extern int header_set_value __P ((header_t, const char *, |
78 | const char *, int)); | 85 | const char *, int)); | ... | ... |
... | @@ -52,6 +52,7 @@ extern void message_destroy __P ((message_t *, void *owner)); | ... | @@ -52,6 +52,7 @@ extern void message_destroy __P ((message_t *, void *owner)); |
52 | 52 | ||
53 | extern void * message_get_owner __P ((message_t)); | 53 | extern void * message_get_owner __P ((message_t)); |
54 | extern int message_is_modified __P ((message_t)); | 54 | extern int message_is_modified __P ((message_t)); |
55 | extern int message_clear_modified __P ((message_t)); | ||
55 | extern int message_set_mailbox __P ((message_t, mailbox_t)); | 56 | extern int message_set_mailbox __P ((message_t, mailbox_t)); |
56 | 57 | ||
57 | extern int message_ref __P ((message_t)); | 58 | extern int message_ref __P ((message_t)); | ... | ... |
-
Please register or sign in to post a comment