aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-mt.h
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2001-01-21 12:19:30 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-01-21 12:19:30 +0800
commit50ef085e18b3cd54f1cea88ceb20156a56fb050d (patch)
tree7c58ef7f050d802dccf2a583fc225a5de40a997b /mail/mail-mt.h
parente511bc95beadc682485d432312f50d9ae1be7566 (diff)
downloadgsoc2013-evolution-50ef085e18b3cd54f1cea88ceb20156a56fb050d.tar.gz
gsoc2013-evolution-50ef085e18b3cd54f1cea88ceb20156a56fb050d.tar.zst
gsoc2013-evolution-50ef085e18b3cd54f1cea88ceb20156a56fb050d.zip
Init a cancel field in the message. (mail_msg_free): Free it.
2001-01-21 Not Zed <NotZed@Ximian.com> * mail-mt.c (mail_msg_new): Init a cancel field in the message. (mail_msg_free): Free it. (mail_msg_cancel): New function to attempt to cancel an operation by id. Impelementation functions can still be uncancellable by not registering for cancellation, etc, or do it themselves as well. * mail-send-recv.c (fetch_mail_filter_folder): set folder_uid's properly, so we can save it later. (filter_folder_filter): Renamed from fetch_mail_filter_folder, since its going to be used for all filtering. (mail_fetch_mail): Changed from mail_filter_mail. (mail_filter_folder): New function, replaces mail_do_filter_ondemand functionality. (mail_filter_on_demand): New function, actually replaces mail_do_filter_ondemand. (receive_get_folder): Added an exception arg. (mail_send_message): New function to just send a message. (send_mail_send): Use mail_send_message. (send_queue_send): New send qeue code, use mail_send_message, and clean up some stuff. (mail_send_receive): Changed from mail_receive. (build_dialogue): Setup the sending data, as well. (mail_update_subfolders): New function to update folder info. (send_mail_send): hook into cancellation if we want. svn path=/trunk/; revision=7672
Diffstat (limited to 'mail/mail-mt.h')
-rw-r--r--mail/mail-mt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/mail-mt.h b/mail/mail-mt.h
index 6ef4119f4c..de2f91d81b 100644
--- a/mail/mail-mt.h
+++ b/mail/mail-mt.h
@@ -26,11 +26,13 @@
#include "camel/camel-exception.h"
#include "e-util/e-msgport.h"
#include "camel/camel-object.h"
+#include "camel/camel-session.h"
typedef struct _mail_msg {
EMsg msg; /* parent type */
struct _mail_msg_op *ops; /* operation functions */
unsigned int seq; /* seq number for synchronisation */
+ CamelCancel *cancel; /* a cancellation handle */
CamelException ex; /* an initialised camel exception, upto the caller to use this */
} mail_msg_t;
@@ -50,6 +52,7 @@ void mail_msg_init(void);
void *mail_msg_new(mail_msg_op_t *ops, EMsgPort *reply_port, size_t size);
void mail_msg_free(void *msg);
void mail_msg_check_error(void *msg);
+void mail_msg_cancel(unsigned int msgid);
void mail_msg_wait(unsigned int msgid);
/* set the status-bar message */
gnome/commit/science?id=09df8f4601b3653cf8971f4f25192685d2ee7322'>Remove expired ports:Rene Ladan2020-08-2719-453/+0 * science/libcint: Update 3.0.20 -> 3.1.1Yuri Victorovich2020-08-272-4/+4 * science/lammps: Update 21Aug2020 -> 24Aug2020Yuri Victorovich2020-08-252-4/+4 * science/hdf: update to 4.2.15 to fix build on powerpc64Piotr Kubaj2020-08-237-55/+95 * science/afni: update to 20.2.14Fernando Apesteguía2020-08-232-4/+4 * science/py-dlib: Fix plist for non-default python flavors.Gleb Popov2020-08-221-2/+2 * science/lammps: Update 21Jul2020 -> 21Aug2020Yuri Victorovich2020-08-222-4/+4 * Update to 2.7.1Sunpoet Po-Chuan Hsieh2020-08-222-4/+4 * science/afni: update to 20.2.13Fernando Apesteguía2020-08-202-4/+4 * science/dlib-cpp and science/py-dlib: Update to 19.21.Gleb Popov2020-08-205-11/+11 * science/py-moltemplate: Update 2.18.2 -> 2.18.3Yuri Victorovich2020-08-203-7/+9 * science/jmol: Update 14.31.2 -> 14.31.3Yuri Victorovich2020-08-202-4/+4 * science/afni: update to 20.2.12Fernando Apesteguía2020-08-192-4/+4 * science/simgrid: fix build on non-aarch64, non-x86Piotr Kubaj2020-08-191-1/+5 * science/tinker: Update 8.7.2 -> 8.8.1Yuri Victorovich2020-08-184-8/+14 * science/py-chainer-chemistry: Update 0.7.0 -> 0.7.1Yuri Victorovich2020-08-182-4/+4 * science/code_saturne: fix build on GCC architecturesPiotr Kubaj2020-08-171-2/+3 * science/py-mdp: remove optional expired dependency on devel/py-ppRene Ladan2020-08-151-3/+1 * Remove deprecated ports:Rene Ladan2020-08-1511-127/+0 * science/dvc: Remove the 2.7 python limitation because the cuplrit dependency ...Yuri Victorovich2020-08-141-7/+4 * KDE's August 2020 Apps UpdateTobias C. Berner2020-08-143-6/+49 * science/afni: update to 20.2.11Fernando Apesteguía2020-08-135-59/+15 * science/py-ase: Update 3.19.2 -> 3.20.0Yuri Victorovich2020-08-112-4/+4 * - Update math/armadillo to 9.900.2Danilo Egea Gondolfo2020-08-101-1/+1 * - Update to 2.41TAKATSU Tomonari2020-08-102-5/+4 * science/py-phonopy: Update 2.5.0 -> 2.7.1Yuri Victorovich2020-08-062-9/+8 * - Fix build without NLS (missing gettext-tools dependency) and without EXAMPL...Dmitry Marakasov2020-08-052-15/+16 * science/afni: update to 20.2.08Fernando Apesteguía2020-08-043-4/+6 * science/py-spglib: Update 1.15.1 -> 1.16.0Yuri Victorovich2020-08-032-4/+4 * science/spglib: Update 1.15.1 -> 1.16.0Yuri Victorovich2020-08-032-4/+4 * science/highfive: Update 2.2.1 -> 2.2.2Yuri Victorovich2020-08-033-8/+10 * devel/libfmt: Update to 7.0.2Tobias Kortkamp2020-08-012-2/+2 * science/elmerfem: Update to 8.4.20200708 and fix dependenciesFernando Apesteguía2020-07-317-70/+47 * science/py-moltemplate: Update 2.18.1 -> 2.18.2Yuri Victorovich2020-07-312-4/+4 * science/afni: update to 20.2.06Fernando Apesteguía2020-07-302-4/+4 * science/netcdf-fortran: Unbreak build with GCC 10Tobias Kortkamp2020-07-271-0/+7 * Deprecate ports broken for more than 6 monthsAntoine Brodin2020-07-263-0/+6 * Update to 2.7.0Sunpoet Po-Chuan Hsieh2020-07-252-6/+6 * Update to 1.38Sunpoet Po-Chuan Hsieh2020-07-242-4/+4 * science/py-ase: Update 3.19.1 -> 3.19.2Yuri Victorovich2020-07-242-7/+6 * science/afni: update to 20.2.05Fernando Apesteguía2020-07-223-8/+8 * science/py-gsd: Update 1.10.0 -> 2.1.2Yuri Victorovich2020-07-223-5/+5 * science/lammps: Update 30Jun2020 -> 21Jul2020Yuri Victorovich2020-07-213-20/+4 * science/py-moltemplate: Update 2.17.8 -> 2.18.1Yuri Victorovich2020-07-212-4/+4 * science/agrum: Update 0.18.0 -> 0.18.1Yuri Victorovich2020-07-213-6/+6 * devel/libfmt: Update to 7.0.1Tobias Kortkamp2020-07-212-0/+2 * - Update to 1.2.2Wen Heping2020-07-182-4/+4 * Update devel/tbb to 2020.3 and bump dependent ports' revisionsGanael LAPLANCHE2020-07-172-1/+2 * science/plumed: Update 2.6.0 -> 2.6.1Yuri Victorovich2020-07-173-23/+42 * science/jmol: Update 14.31.1 -> 14.31.2Yuri Victorovich2020-07-172-4/+4 * science/gromacs: Update 2020.2 -> 2020.3Yuri Victorovich2020-07-162-4/+4 * science/qbox: Update 1.71.3 -> 1.71.4Yuri Victorovich2020-07-162-4/+4 * Unbreak bulk -aAntoine Brodin2020-07-141-1/+1 * science/sparta: Update 24Jan2020 -> 6Jul2020Yuri Victorovich2020-07-142-5/+4 * Mark BROKENAntoine Brodin2020-07-131-0/+2 * Update to 2.18.0Sunpoet Po-Chuan Hsieh2020-07-123-4/+517 * Move devel/py-Pint to devel/py-pintSunpoet Po-Chuan Hsieh2020-07-121-1/+2 * Update KDE's Application (release-service) to 20.04.3Tobias C. Berner2020-07-102-6/+6 * Update to 0.2.3Sunpoet Po-Chuan Hsieh2020-07-102-6/+6 * science/yoda: Update 1.8.2 -> 1.8.3Yuri Victorovich2020-07-093-4/+5 * science/afni: update to 20.2.00Fernando Apesteguía2020-07-083-4/+5 * science/jmol: Update 14.31.0 -> 14.31.1Yuri Victorovich2020-07-072-4/+4 * science/py-chempy: Update 0.7.11 -> 0.7.12Yuri Victorovich2020-07-072-5/+5 * science/py-scipy: Unbreak build with GCC 10Tobias Kortkamp2020-07-051-0/+1 * - Update devel/gdcm to 3.0.7.Stephen Montgomery-Smith2020-07-051-1/+1 * Chanse update of devel/libffiNiclas Zeising2020-07-051-1/+1 * science/xtb: Unbreak build with GCC 10Tobias Kortkamp2020-07-041-0/+1 * science/cgnslib: Unbreak build with GCC 10Tobias Kortkamp2020-07-041-0/+1 * science/libccp4: Unbreak build with GCC 10Tobias Kortkamp2020-07-041-1/+1 * science/aircraft-datcom: Unbreak build with GCC 10Tobias Kortkamp2020-07-041-0/+1 * science/cdf: Unbreak build with GCC 10Tobias Kortkamp2020-07-041-0/+1 * science/isaac-cfd: Unbreak build with GCC 10Tobias Kortkamp2020-07-041-0/+1 * science/dcl: Unbreak build with GCC 10Tobias Kortkamp2020-07-041-0/+6 * science/xtb: upgrade to 6.3.2Johannes M Dieterich2020-07-042-4/+4 * science/afni: update to 20.1.18Fernando Apesteguía2020-07-022-12/+11 * Bump devel/jsoncpp consumers after r540853.Tobias C. Berner2020-07-011-1/+1 * science/elk: Update 5.2.14 -> 6.8.4Yuri Victorovich2020-06-305-26/+11 * science/lammps: Update 15Jun2020 -> 30Jun2020Yuri Victorovich2020-06-303-4/+19 * science/coordgenlibs: Update 1.4.0-6 -> 1.4.1Yuri Victorovich2020-06-293-6/+5 * science/py-openpiv: update to 0.22.0Max Brazhnikov2020-06-282-4/+5 * science/py-molmod: Update 1.4.7 -> 1.4.8Yuri Victorovich2020-06-262-4/+4 * science/berkeleygw: Unbreak build with GCC 10Tobias Kortkamp2020-06-251-0/+18 * science/votca: Update 1.6 -> 1.6.1Yuri Victorovich2020-06-244-63/+82 * science/elmerfem: Prepare for Qt5.15Loïc Bartoletti2020-06-231-0/+10 * science/dlib-cpp and science/py-dlib: Update to 19.20Gleb Popov2020-06-234-10/+8 * science/afni: update 20.1.16 -> 20.1.17Kurt Jaeger2020-06-212-4/+4 * science/py-openpiv:Max Brazhnikov2020-06-212-21/+10 * science/afni: update to 20.1.16Fernando Apesteguía2020-06-192-4/+4 * Move devel/swig30 to devel/swig and update to 4.0.1Sunpoet Po-Chuan Hsieh2020-06-186-14/+26 * - Update WWWDmitry Marakasov2020-06-171-1/+1 * science/votca: Revert unintended changesYuri Victorovich2020-06-172-22/+15 * science/votca: Broken on i386Yuri Victorovich2020-06-173-15/+24 * science/py-phonopy: Update 2.4.2 -> 2.5.0Yuri Victorovich2020-06-172-4/+4 * science/afni: update to 20.1.15Fernando Apesteguía2020-06-162-4/+4 * science/py-phonopy: Update 2.3.0 -> 2.4.2Yuri Victorovich2020-06-162-4/+4 * science/lammps: Update 2Jun2020 -> 15Jun2020Yuri Victorovich2020-06-163-5/+5 * science/xtb: update to release 6.3.1Johannes M Dieterich2020-06-162-4/+4 * science/jdftx: Update 1.5.0 -> 1.6.0Yuri Victorovich2020-06-163-7/+7 * devel/docopt.cpp: Update 0.6.2-6 -> 0.6.3Yuri Victorovich2020-06-161-1/+1 * Upgrade to v6.1.1 and add Scotch´s support.Thierry Thomas2020-06-162-8/+9 * science/agrum: Update 0.17.3 -> 0.18.0Yuri Victorovich2020-06-153-11/+36 * science/hepmc3: Update science/hepmc3: Update 3.2.1 -> 3.2.2Yuri Victorovich2020-06-153-6/+6 * Update science/qbox: 1.71.2 -> 1.71.3Yuri Victorovich2020-06-153-6/+6 * Update to 2.30Sunpoet Po-Chuan Hsieh2020-06-143-35/+24 * - Update to 2.2-10TAKATSU Tomonari2020-06-142-5/+4 * Chase ScaLAPACK´s upgrade and resolve conflict between cblas and openblas.Thierry Thomas2020-06-141-8/+5 * Unbreak bulk -aAntoine Brodin2020-06-132-2/+2 * Update KDE's Application (release-service) to 20.04.2Tobias C. Berner2020-06-133-6/+49 * science/afni: Update to 20.1.14Fernando Apesteguía2020-06-123-4/+9 * Add compiler:c++11-lang to USES to fix build on GCC-based systems:Mark Linimon2020-06-111-1/+1 * - Update devel/gdcm to 3.0.6.Stephen Montgomery-Smith2020-06-111-1/+1 * science/pagmo2: Update 2.11.4 -> 2.15.0-90Yuri Victorovich2020-06-114-11/+17 * Mark MAKE_JOBS_UNSAFEAntoine Brodin2020-06-101-0/+1 * science/qbox: Update 1.71.1 -> 1.71.2Yuri Victorovich2020-06-102-4/+4 * New port: science/py-pygmo2: Python platform to perform parallel computations...Yuri Victorovich2020-06-105-0/+76 * science/qiskit-aer: Update 0.5.1 -> 0.5.2Yuri Victorovich2020-06-062-5/+4 * science/afni: update to 20.1.13Fernando Apesteguía2020-06-053-6/+8 * Bump PORTREVISION for devel/protobuf shlib changeSunpoet Po-Chuan Hsieh2020-06-044-3/+4 * science/afni: update to 20.1.12Fernando Apesteguía2020-06-033-4/+6 * science/lammps: Update 5May2020 -> 2Jun2020Yuri Victorovich2020-06-024-23/+10 * math/py-seaborn: Update to 0.10.1Danilo G. Baio2020-06-011-1/+2 * science/pulseview: prepare for Qt5-5.15Tobias C. Berner2020-05-301-0/+20 * science/py-spglib: Update 1.14.1 -> 1.15.1Yuri Victorovich2020-05-302-5/+4 * science/py-chempy: Update 0.7.10 -> 0.7.11Yuri Victorovich2020-05-302-4/+4 * science/py-abipy: Update 0.7.0 -> 0.8.0Yuri Victorovich2020-05-302-4/+4 * science/simgrid: Update 3.24 -> 3.25Yuri Victorovich2020-05-303-11/+9 * science/spglib: Update 1.12.2 -> 1.15.1Yuri Victorovich2020-05-303-7/+8 * Clean up some thingsTobias Kortkamp2020-05-301-1/+1 * science/afni: update to 20.1.11Fernando Apesteguía2020-05-292-4/+4 * pymol fails to build with python 2.7Antoine Brodin2020-05-291-1/+1 * Mark BROKEN: fails to buildAntoine Brodin2020-05-291-0/+1 * science/py-PyFR: Update 1.9.0 -> 1.10.0Yuri Victorovich2020-05-292-5/+4 * science/py-moltemplate: Update 2.17.7 -> 2.17.8Yuri Victorovich2020-05-292-4/+4 * new port: science/xtbJohannes M Dieterich2020-05-295-0/+45 * science/jmol: Update 14.30.2 -> 14.31.0Yuri Victorovich2020-05-292-5/+4 * Sanitize COMMENT per Section 5.6 of the FreeBSD Porter's Handbook (part 6).Alexey Dokuchaev2020-05-282-2/+2 * science/jmol: Add JSmol (Java viewer for chemical structures in 3D) as a port...Yuri Victorovich2020-05-283-2/+1766 * science/scidavis:Max Brazhnikov2020-05-286-19/+21 * science/afni: update to 20.1.10Fernando Apesteguía2020-05-282-4/+4 * Sanitize COMMENT per Section 5.6 of the FreeBSD Porter's Handbook (part 4).Alexey Dokuchaev2020-05-271-1/+1 * science/hypre: Update 2.18.2 -> 2.19.0Yuri Victorovich2020-05-27