#ifndef RSPAMD_MESSAGE_H #define RSPAMD_MESSAGE_H #include "config.h" #include #include #ifndef HAVE_OWN_QUEUE_H #include #else #include "queue.h" #endif #include #include #include #include #include #include #include "main.h" #include #include struct mime_part { GMimeContentType *type; GByteArray *content; TAILQ_ENTRY (mime_part) next; }; int process_message (struct worker_task *task); int process_learn (struct controller_session *session); GByteArray* get_next_text_part (memory_pool_t *pool, GList *parts, GList **cur); #endif