aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.h
blob: 0209d105292a891bbe7de11123e71d9212550280 (plain) (blame)
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */

/* 
 * Author : 
 *  Peter Williams <peterw@helixcode.com>
 *
 * Copyright 2000 Helix Code, Inc. (http://www.helixcode.com)
 *
 * This program is free software; you can redistribute it and/or 
 * modify it under the terms of the GNU General Public License as 
 * published by the Free Software Foundation; either version 2 of the
 * License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
 * USA
 */

#include <camel/camel.h>
#include <filter/filter-driver.h>
#include "mail-threads.h"
#include "evolution-storage.h"  /*EvolutionStorage */
#include "composer/e-msg-composer.h"    /*EMsgComposer */
#include "message-list.h"   /*MessageList */

void mail_do_fetch_mail (const gchar *source_url, gboolean keep_on_server,
             CamelFolder *destination,
             gpointer hook_func, gpointer hook_data);

void mail_do_filter_ondemand (CamelFolder *source, GPtrArray *uids);

void mail_do_send_mail (const char *xport_uri,
            CamelMimeMessage *message,
            CamelFolder *done_folder,
            const char *done_uid,
            guint32 done_flags, GtkWidget *composer);
void mail_do_send_queue (CamelFolder *folder_queue,
             const char *xport_uri);
void mail_do_append_mail (CamelFolder *folder,
              CamelMimeMessage *message,
              CamelMessageInfo *info);
void mail_do_expunge_folder (CamelFolder *folder);
void mail_do_transfer_messages (CamelFolder *source, GPtrArray *uids,
                gboolean delete_from_source,
                gchar *dest_uri);
void mail_do_flag_messages (CamelFolder *source, GPtrArray *uids,
                gboolean invert,
                guint32 mask, guint32 set);
void mail_do_flag_all_messages (CamelFolder *source, gboolean invert,
                guint32 mask, guint32 set);
void mail_do_scan_subfolders (CamelStore *store, EvolutionStorage *storage);
void mail_do_attach_message (CamelFolder *folder, const char *uid,
                 EMsgComposer *composer);
void mail_do_forward_message (CamelMimeMessage *basis, CamelFolder *source,
                  GPtrArray *uids,  /*array of allocated gchar *, will all be freed */
                  EMsgComposer *composer, gboolean attach);
void mail_do_load_folder (FolderBrowser *fb, const char *url);
void mail_do_create_folder (const GNOME_Evolution_ShellComponentListener listener,
                const char *uri, const char *type);
void mail_do_sync_folder (CamelFolder *folder);
void mail_do_display_message (MessageList *ml, MailDisplay *md, const char *uid,
                  gint (*timeout) (gpointer));
void mail_do_edit_messages (CamelFolder *folder, GPtrArray *uids,
                GtkSignalFunc signal);
void mail_do_setup_folder (const char *name, CamelFolder **folder);
void mail_do_view_messages (CamelFolder *folder, GPtrArray *uids,
                FolderBrowser *fb);
void mail_do_view_message_sources (CamelFolder *folder, GPtrArray *uids,
                   FolderBrowser *fb);
567ac45e9c'>. More portlint petting (fix patch file names).glewis2013-07-088-0/+0 * . Update to 2.2.12.glewis2013-07-086-124/+82 * Convert from USE_GMAKE to USES=gmakeeadler2013-07-071-1/+1 * - convert USE_GMAKE to USES=gmakejgh2013-07-061-1/+1 * Convert to USES=gmakebapt2013-07-051-2/+1 * - remove now obsolete comment to imake macrodinoex2013-07-041-1/+0 * Remove support for the non-default KDE3 option.rene2013-07-021-9/+1 * - Update to version 0.5.2; avoid double slashes in the build logs (butdanfe2013-07-014-6/+7 * Convert to USES=imakebapt2013-06-295-31/+15 * New USES imake to handle the dependency on imake.bapt2013-06-285-13/+8 * Add compton, a compositor for X11, which was forked from Dana Jansens' forkdanfe2013-06-267-0/+155 * Readd PORTEPOCH removed by mistakebapt2013-06-251-0/+1 * Update to 0.1.17 [1]bapt2013-06-255-30/+71 * Fix pkg-plistantoine2013-06-251-1/+1 * - Add LICENSE [1]beat2013-06-232-274/+277 * x11-wm/lxsession: fix NLS optionwg2013-06-212-31/+20 * - fix broken commit r320732dinoex2013-06-211-1/+0 * - Don't remove directories not created by this portmiwi2013-06-191-4/+0 * - Don't remove directories not created by this portmiwi2013-06-191-2/+0 * - Fix i18n manpagesmiwi2013-06-191-0/+4 * Send some ports back to the pool that I no longer have time forkmoore2013-06-181-1/+1 * Better fix with clangbapt2013-06-131-2/+1 * Fix build with clangbapt2013-06-131-0/+4 * Fix build with clangbapt2013-06-131-0/+2 * Add a patch to stop crashing on amd64.rakuco2013-06-122-1/+16 * . fix build with clang (CFLAGS+=-Wno-return-type);bsam2013-06-121-5/+3 * - Fix build with gcc 4.6 or newergblach2013-06-101-0/+11 * - Add the shared library version number for polkit (from sysutils/policykit)rene2013-06-101-1/+4 * update lang/sbcl to 1.1.8, and adjust dependent portsbf2013-06-061-1/+1 * - Remove debug CFLAGS introduced by my last commitgahr2013-06-051-1/+0 * - Update The Glorious Glasgow Haskell Compiler to version 7.6.3pgj2013-06-052-3/+3 * - Update to 2.1.1wg2013-05-293-9/+10 * The FreeBSD x11 team proudly presentszeising2013-05-259-20/+26 * Fix underminated quoted stringbapt2013-05-241-1/+1 * Do not try to remove directories not being created by the port/packagebapt2013-05-241-5/+0 * - Initialize variables to avoid giving incorrect valuesgahr2013-05-231-11/+20 * Move x11-wm/transset-df to x11-wm/transset and change upstream tozeising2013-05-216-32/+23 * - Update EFL libraries to 1.7.7gblach2013-05-192-3/+3 * - Update to 0.6wg2013-05-183-10/+31 * Revert r318338 to unbreak INDEX.rakuco2013-05-175-0/+73 * Remove x11-wm/libdockapp, expired last year.rakuco2013-05-175-73/+0 * Drop build dependencies on bison/flex now that it is compatible with yacc/lexbapt2013-05-161-3/+1 * - Change MAINTAINER address of all my portswg2013-05-162-2/+2 * - Remove debug printf introduced in my last commitgahr2013-05-151-5/+4 * - Convert to optionsNGgblach2013-05-151-7/+4 * Update to 1.3.9.rakuco2013-05-153-29/+3 * - Fix swap usage values in E-MemWatch.eppletgahr2013-05-151-13/+16 * - Update to 20130510 snapshotgblach2013-05-14