aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.h
blob: 9321f8807aacf4411293b51e69bd330266fd8b9e (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
/* -*- 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 "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_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 (const gchar *source_uri, 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);
void mail_do_load_folder (FolderBrowser *fb, const char *url);
void mail_do_create_folder (const Evolution_ShellComponentListener listener,
                const char *uri, const char *type);
void mail_do_sync_folder (CamelFolder *folder);
void mail_do_display_message (MessageList *ml, 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);

/* This actually lives in message-list.c */
void mail_do_regenerate_messagelist (MessageList *list,
                     const gchar *search);
le='2004-03-10 03:41:12 +0800'>2004-03-106-63/+84 * Bump PORTREVISION.lofi2004-02-111-0/+1 * USE_MOTIF by default now - netscape plugins compat is en vogue againlofi2004-02-101-13/+6 * Shorten COMMENT.lofi2004-02-101-1/+1 * Update to KDE 3.2.0lofi2004-02-0512-523/+1148 * Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.marcus2004-02-041-0/+1 * Add a patch to correct CPU states readout inlofi2003-12-131-0/+21 * Add a patch that should fix the "A window and A desktop icon sometimes havearved2003-11-201-0/+12 * Fix the -pthread problem in case the option gets removed again. Thiswill2003-10-041-0/+2 * From KDE_3_1_BRANCH:arved2003-09-291-0/+18 * Upgrade to Qt 3.2.1 / KDE 3.1.4. See x11/kde3/Makefile rev 1.64 for details.will2003-09-188-419/+2 * Multiple bugfixes and enhancements for kdebase.lofi2003-08-2910-9/+458 * Fix non-default dependency on openldap2[012] which is broken by splitting.kuriyama2003-08-151-1/+1 * Update KDE to the latest official release, KDE 3.1.3lofi2003-07-296-41/+14 * - Conditional ldap supportarved2003-06-032-5/+11 * Update to KDE 3.1.2lioux2003-05-203-3/+5 * Fix fetching.will2003-04-121-1/+1 * Upgrade to 3.1.1a to handle PS/PDF security advisory. There are additionalwill2003-04-112-2/+2 * Rejoice, for the long awaited upgrade to kde 3.1.1 is here!alane2003-04-068-70/+22 * Clear moonlight beckons.ade2003-03-072-1/+1 * Fix Build on CURRENT.arved2003-03-031-0/+24 * Add patch to fix ksysguard on -CURRENT. Will be committed to KDE.will2003-02-101-0/+15 * Re-enable Xinerama support and remove Java support by default. The formerwill2003-02-091-6/+6 * kdebase uses libfontconfig if it finds it. add dependency.alane2003-02-031-0/+8 * bump PORTREVISION for previous mod about 12 hours agoalane2003-01-301-1/+1 * Install desktop template masters with right perms (write perms, too).alane2003-01-301-0/+2 * update to 3.1 official releasealane2003-01-2913-1091/+1663 * Fetch from correct MASTER_SITE_SUBDIRlioux2002-11-171-1/+1 * Update these ports to 3.0.5 per KDE security advisory. Fix missing depsalane2002-11-168-116/+10 * removed redundant PACKAGE_BUILDING testalane2002-10-191-4/+0 * Bump PORTREVISION to force the last change out, as bugs were severe accordingalane2002-10-191-1/+1 * Undefault keramik due to bugs.alane2002-10-191-4/+0 * If defined(PACKAGE_BUILDING) then do not build with keramik/kwin backport.alane2002-10-131-0/+4 * Move <sys/types.h> higher up in the include list to fix build on current.alane2002-10-121-0/+18 * add warning about backported keramikalane2002-10-111-0/+7 * 1. Removed comments from pkg-plist files per will's request.alane2002-10-111-98/+0 * 1. Remove QT warning from kde3. It's been there long enough.alane2002-10-116-12/+120 * mi's patch to use gettext as BUILD_DEPEND. If there's a PR I don't havealane2002-09-211-1/+1 * Update to 3.0.3. Not much changed here: [1] i18n PKGNAMEs converted towill2002-08-253-41/+8 * Bump PORTREVISION. KDE is fragile enough in its dependencies; we don'talane2002-08-021-1/+1 * Chase shlib rev of devel/gettextade2002-08-021-1/+1 * Fixed obnoxious bug where a new ~/Desktop dir would be created with read-onlyalane2002-07-182-0/+23 * Update to 3.0.2 -- full log available in ports/x11/kde3/Makefile,v 1.51.will2002-07-053-4/+39 * Patch out the 'sshd' user from being shown (add to HiddenUsers).alane2002-06-291-1/+1 * Add smmsp (mail submitter) to list of hidden users in kdm.conf.alane2002-06-291-2/+11 * Fixed bad patch. Missed it when we moved to the rerolled tarball apparently.alane2002-06-271-5/+5 * Upgrade to KDE 3.0.1. The delay in this upgrade is mainly due to thewill2002-06-1615-516/+402 * Fix build on alpha.will2002-05-203-0/+53 * Fix missing %%MOTIF%% substitutions.petef2002-05-091-8/+8 * Update to 3.0. Sigh.will2002-04-231-0/+2527 * Oops, fix miscommit of patch.will2002-04-221-11/+11 * Fix kdm config file upon install.will2002-04-221-0/+11 * Please welcome Qt3/KDE3 to our ports tree. This includes work since thewill2002-04-2230-4244/+530 * gettext upgrade uber-patch (stage 3)ade2002-04-131-2/+2 * Fix the KDE ports to not use objprelink, if OSVERSION >= 500029. This iswill2002-03-301-2/+6 * Stage 1 of gettext update.ade2002-03-161-1/+1 * Make the "default" target failback on KDE if the user doesn't have apetef2002-03-032-3/+13 * Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;knu2002-01-291-2/+2 * Bring in a few changes to the KDE ports infrastructure, and some fixes.will2002-01-111-15/+2 * If !WANT_KDE_NDEBUG and !PARALLEL_PACKAGE_BUILDING, also addwill2002-01-081-0/+3 * Fix problem where KDM doesn't cause the login records to be updated whenwill2002-01-062-6/+10 * Conditionalize use of objprelink based on whether we're running onwill2002-01-051-3/+8 * If not building WITH_MOTIF (required for Netscape plugins), don't try to loadpetef2001-12-251-0/+6 * - better kdmrc config file handling:petef2001-12-145-16/+45 * Fix a problem with auto{conf,make}: some build magic was introduced topetef2001-12-071-1/+1 * Upgrade KDE to 2.2.2:will2001-12-0417-32/+1423 * Remove stale files from share/config/kdm.olgeni2001-11-031-7/+1 * Bite the bullet and make kcheckpass setuid root by default so the lockwill2001-11-012-22/+2 * Upgrade to 2.2.1.demon2001-10-274-9/+175 * Fix pkg-plistkevlo2001-10-201-0/+3 * Set DIST_SUBDIR=KDEdemon2001-09-112-1/+2 * Add a message to the port/package warning users about kcheckpass'swill2001-09-042-1/+25 * Remove bogus file that I introduced in revision 1.40 (pointy hat).olgeni2001-09-021-1/+0 * Support the Motif-dependent files in pkg-plist, add some missing @dirrmolgeni2001-08-312-5/+49 * Make CATEGORIES and MAINTAINER overridable for japanese/kde*.knu2001-08-311-2/+2 * Reassign MAINTAINER to kde@FreeBSD.org, a group formed specifically towill2001-08-251-1/+1 * Argh! Get this plist right, for the last time...will2001-08-231-1/+0 * Remove the extra Worm.desktop screensaver entry. Leave only the screensaverolgeni2001-08-211-1/+0 * Add @exec/@unexec lines to pkg-plist, to handle the "emptydir" template.olgeni2001-08-201-0/+3 * Add a simple post-extract target: it overwrites ${WRKSRC}/mkpamserv with aolgeni2001-08-191-0/+4 * Disable kappfinder_install execution at install time. This will avoid theolgeni2001-08-192-28/+1 * Add forgotten emptydir which is required to create new directorieswill2001-08-182-0/+2 * *sigh* They changed the path to the tarballs again. This was verifiedwill2001-08-161-1/+1 * Update to KDE 2.2:will2001-08-156-1016/+753 * Remove three files:asami2001-08-121-3/+0 * Overhaul QT/KDE support:will2001-04-032-13/+4 * Thought I removed these PTHREAD_* things from the Makefile. FWIW, thewill2001-03-271-2/+2 * Bring in my fixes for KDE2 for users of XFree86 4.0.x. Basically, whatwill2001-03-251-34/+5 * Bring in my KDE 2.1 + X 4.0.2 + threads "fixes". WARNING: Doesn't quitewill2001-03-131-4/+34 * Fix plist. Kevin!!!! ;-)will2001-03-111-79/+0 * Disable OpenLDAP support by defaultkevlo2001-03-081-0/+1 * Fix pkg-plistkevlo2001-03-081-17/+89 * Fix build problem with kio_ldap where it was including <time.h> insteadwill2001-03-052-0/+109 * Attempt to fix conflicts with a local getopt.h (specifically, the fix iswill2001-03-051-1/+1 * Lo and behold, welcome KDE 2.1 to our ports tree. As a direct result ofwill2001-02-277-487/+718 * Style fixes for ports/x11.olgeni2001-02-061-1/+1 * Update to allow ksysguard to compile from KDE 2.0 using -CURRENTcokane2001-01-281-0/+80 * Upgrade to 2.0.1kevlo2000-12-125-17/+227 * Fix eject device.kevlo2000-12-011-0/+12 * Resign as maintainer of KDE2 ports, having brought them up from inceptionwill2000-11-181-1/+1 * Add patch to fix konsole crashes. Has been submitted to the KDE team.will2000-11-031-0/+11 * Remove 8 files that aren't build on everyone's systems.asami2000-11-02