aboutsummaryrefslogtreecommitdiff
path: root/blaze822.h
diff options
context:
space:
mode:
Diffstat (limited to 'blaze822.h')
-rw-r--r--blaze822.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/blaze822.h b/blaze822.h
index 450da28..0f8329b 100644
--- a/blaze822.h
+++ b/blaze822.h
@@ -37,6 +37,10 @@ int blaze822_mime_body(struct message *msg, char **cto, char **bodyo, size_t *bo
int blaze822_multipart(struct message *msg, struct message **imsg);
int blaze822_mime_parameter(char *s, char *name, char **starto, char **stopo);
+typedef enum { MIME_CONTINUE, MIME_STOP, MIME_PRUNE } blaze822_mime_action;
+typedef blaze822_mime_action (*blaze822_mime_callback)(int, struct message *, char *, size_t);
+blaze822_mime_action blaze822_walk_mime(struct message *, int, blaze822_mime_callback);
+
// seq.c
char *blaze822_seq_open(char *file);