summaryrefslogtreecommitdiff
path: root/mono/Global.custom
blob: 0ef8f6c77d0094cc5263e40fa201379cf1147b95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
		public enum InitFlags {
		       None = 0,
		       EnableRfc2047Workarounds = (1 << 0),
		}
		
		[DllImport("gmime")]
		static extern void g_mime_init (int flags);
		
		public static void Init ()
		{
			g_mime_init (0);
		}
		
		public static void Init (InitFlags flags)
		{
			g_mime_init ((int) flags);
		}
		
		[DllImport("gmime")]
		static extern void g_mime_shutdown ();
		
		public static void Shutdown ()
		{
			g_mime_shutdown ();
		}