File: messages.h

package info (click to toggle)
evolution-data-server 2.30.3-2%2Bsqueeze1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 45,704 kB
  • ctags: 26,968
  • sloc: ansic: 223,692; sh: 10,413; makefile: 2,646; xml: 386; perl: 204; python: 30
file content (18 lines) | stat: -rw-r--r-- 789 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

#include <camel/camel-mime-message.h>

/* how many ways to set the content contents */
#define SET_CONTENT_WAYS (5)

/* messages.c */
CamelMimeMessage *test_message_create_simple(void);
void test_message_set_content_simple(CamelMimePart *part, gint how, const gchar *type, const gchar *text, gint len);
gint test_message_write_file(CamelMimeMessage *msg, const gchar *name);
CamelMimeMessage *test_message_read_file(const gchar *name);
gint test_message_compare_content(CamelDataWrapper *dw, const gchar *text, gint len);
gint test_message_compare (CamelMimeMessage *msg);

void test_message_dump_structure(CamelMimeMessage *m);

gint test_message_compare_header(CamelMimeMessage *m1, CamelMimeMessage *m2);
gint test_message_compare_messages(CamelMimeMessage *m1, CamelMimeMessage *m2);