aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.h
blob: 1144810592db8e8acf1b01bb4763494f2bf8fd56 (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
/* -*- 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_save_messages (CamelFolder *folder, GPtrArray *uids, gchar *path);
n>/+0 * - Update to 0.3rafan2007-03-092-5/+4 * * Update to 1.7.5.maho2007-03-095-31/+67 * * Install shared libs as well.maho2007-03-092-7/+46 * Upgrade to 2.14.thierry2007-03-093-4/+19 * Fix errata listed at http://math-atlas.sourceforge.net/errata.html andmaho2007-03-089-1/+333 * Update to 3.7.29.maho2007-03-082-4/+4 * . (Potentially) set USE_EMACS before we include bsd.port.pre.mk, not after,glewis2007-03-081-2/+2 * build fix for petsc-mpichmaho2007-03-071-0/+1 * - Update to 1.3.6miwi2007-03-073-21/+5 * Fast Artificial Neural Network Library is a free open source neural networkmiwi2007-03-076-0/+79 * - Update to 0.9.5miwi2007-03-073-10/+13 * - Update to 0.9.5miwi2007-03-073-17/+15 * - Update to 0.3.3miwi2007-03-073-28/+31 * Add p5-Math-NumberCruncher 5.00, collection of useful math-relatedrafan2007-03-065-0/+41 * Fix deinstall and unbroke port.anray2007-03-062-4/+3 * Update to 1.80.tobez2007-03-053-14/+9 * Maintainer's email address bounces.linimon2007-03-051-1/+1 * Remove BROKEN and DEPRECATED line.maho2007-03-051-4/+0 * Reset ko@irfu.se due to maintainer-timeouts and no response to email.linimon2007-03-052-2/+2 * Remove the name of the script that I use to do ports regression testing aslinimon2007-03-041-1/+1 * Update to 4.4.6 release.ale2007-03-041-1/+0 * Mark as BROKEN, possibly due to the update to its masterport. Set forlinimon2007-03-041-0/+4 * dd@ has had his port bit taken for safekeeping. Therefore, return theselinimon2007-03-041-1/+1 * Maintainer has had his bit taken for safekeeping. While here, removelinimon2007-03-041-4/+2 * - Update to 6.1.2clsung2007-03-012-7/+7 * Update to 12.6.10ehaupt2007-02-282-4/+4 * - Bump shlib version to libnetsnmp.so.10 and bump $PORTREVISION.kuriyama2007-02-281-1/+1 * - Update to 1.8.3clsung2007-02-285-46/+86 * - Update to 2.11clsung2007-02-282-12/+6 * BROKEN: Incomplete pkg-plistkris2007-02-271-0/+2 * - maho wants WANT_FORTRAN knob in gfortran portsdb2007-02-271-0/+1 * Update to 0.0.6.tobez2007-02-252-4/+4 * Fix pkg-plist when NOPORTDOCS is defined.tg2007-02-241-2/+2 * Update to 2.1.2-22 which has been around for a while, and fixes a numberjoerg2007-02-233-5/+6 * Upgrade to 2.6.tg2007-02-214-68/+355 * * Update to 2.3.2-p8.maho2007-02-202-7/+6 * For test target, now we use GMAKE to MAKE. In some environmentmaho2007-02-191-6/+6 * Remove expired ports:gabor2007-02-1910-1321/+0 * Update to 3.7.28.maho2007-02-166-59/+34 * - Update to 20070214rafan2007-02-162-15/+7 * Upgrade to 0.4.6.thierry2007-02-166-26/+170 * Add math/p5-Set-IntSpan-Fast 0.0.5, a Perl module for fast handling oftobez2007-02-165-0/+54 * A workaround to prevent hangs up during the build withmaho2007-02-141-1/+7 * Really fix pkg-plistkris2007-02-141-1/+0 * - Remove QTDIR from CONFIGURE_ENV, it's in there already thanks to frameworkpav2007-02-138-10/+9 * Commit the right pkg-plist...thierry2007-02-131-29/+0 * - Update to latest packages releasejohans2007-02-122-4/+5 * Upgrade to 3.0.thierry2007-02-1211-930/+1994 * Update to 1.5.2perky2007-02-112-4/+4 * - Add patch (forget in last commit)miwi2007-02-111-0/+288