aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-transport.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-transport.c')
-rw-r--r--camel/camel-transport.c104
1 files changed, 0 insertions, 104 deletions
diff --git a/camel/camel-transport.c b/camel/camel-transport.c
deleted file mode 100644
index ff07728f5f..0000000000
--- a/camel/camel-transport.c
+++ /dev/null
@@ -1,104 +0,0 @@
-/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
-/* camel-transport.c : Abstract class for an email transport */
-
-/*
- *
- * Author :
- * Dan Winship <danw@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 <config.h>
-#include "camel-transport.h"
-#include "camel-exception.h"
-
-/* Returns the class for a CamelTransport */
-#define CT_CLASS(so) CAMEL_TRANSPORT_CLASS (CAMEL_OBJECT_GET_CLASS(so))
-
-CamelType
-camel_transport_get_type (void)
-{
- static CamelType camel_transport_type = CAMEL_INVALID_TYPE;
-
- if (camel_transport_type == CAMEL_INVALID_TYPE) {
- camel_transport_type = camel_type_register (CAMEL_SERVICE_TYPE, "CamelTransport",
- sizeof (CamelTransport),
- sizeof (CamelTransportClass),
- NULL,
- NULL,
- NULL,
- NULL);
- }
-
- return camel_transport_type;
-}
-
-
-/**
- * camel_transport_can_send: Determine if a message is send-able on a transport
- * @transport: the transport
- * @message: the message
- *
- * Determines if a CamelMedium is of an appropriate subclass to send
- * via the given @transport. (Mail transports are not able to send
- * netnews articles, and vice versa.)
- *
- * Return value: TRUE or FALSE
- **/
-gboolean
-camel_transport_can_send (CamelTransport *transport, CamelMedium *message)
-{
- return CT_CLASS (transport)->can_send (transport, message);
-}
-
-/**
- * camel_transport_send: Send a message via a transport
- * @transport: the transport
- * @message: the message
- * @ex: a CamelException
- *
- * Sends the message to the recipients indicated in the message.
- *
- * Return value: success or failure.
- **/
-gboolean
-camel_transport_send (CamelTransport *transport, CamelMedium *message,
- CamelException *ex)
-{
- return CT_CLASS (transport)->send (transport, message, ex);
-}
-
-/**
- * camel_transport_send_to: Send a message non-standard recipients
- * @transport: the transport
- * @message: the message
- * @recipients: the recipients
- * @ex: a CamelException
- *
- * Sends the message to the given recipients, rather than to the
- * recipients indicated in the message.
- *
- * Return value: success or failure.
- **/
-gboolean
-camel_transport_send_to (CamelTransport *transport, CamelMedium *message,
- GList *recipients, CamelException *ex)
-{
- return CT_CLASS (transport)->send_to (transport, message,
- recipients, ex);
-}
/span> * In devel/gwenhywfar and finance/aqbanking, the documentation installed byrakuco2012-09-022-9/+10 * - Fix compilation error when building trn without NNTP supportjohans2012-09-021-0/+45 * - Add patch to fix getsubopt() parsingjohans2012-09-022-7/+257 * - Update to 0.6.0.avilla2012-09-022-8/+7 * - Update to 1.1.5wen2012-09-023-3/+4 * - Update to 2.3wen2012-09-022-3/+3 * - Fix build with CLANGacm2012-09-021-0/+1 * * Sat Sep 1 2012 - Christophe Dumez <chris@qbittorrent.org> - v3.0.2dougb2012-09-022-7/+3 * 0.16.3 releasedougb2012-09-022-3/+6 * - Remove BROKEN on i386acm2012-09-021-4/+6 * - update to 0.15.1rm2012-09-025-32/+32 * - Fix build on PHP 5.4.xacm2012-09-022-3/+40 * Fix binutils build on clang. I'm committing this with a somewhat shortlinimon2012-09-021-0/+20 * - Update to 4.3sem2012-09-022-4/+4 * Inform the community about a recent bitcoin DoS vuln.eadler2012-09-021-0/+26 * - Update to 0.6.3swills2012-09-023-49/+54 * - Update to 0.7-18tota2012-09-022-8/+3 * - Partially back out r303381: readlink -f is not available on allbeat2012-09-021-1/+1 * - Fix PLIST issues I caused in the last updateswills2012-09-021-5/+2 * Convert to the new options framework.gerald2012-09-021-12/+5 * fix distinfoohauer2012-09-021-2/+2 * - move to bugzilla@ohauer2012-09-022-2/+2 * - update bugzilla bugzilla3 and bugzilla42ohauer2012-09-0216-77/+222 * - Update to 0.0022swills2012-09-022-4/+3 * - Update to 0.14swills2012-09-022-3/+3 * - Update to 1.34swills2012-09-022-3/+3 * - Update to 1.2.1swills2012-09-022-3/+3 * - Partial revert of r303478 [1]bdrewery2012-09-021-6/+0 * - Update to 1.1.5swills2012-09-022-3/+3 * - Update maintainer since the previous maintainers email is bouncing.swills2012-09-021-1/+1 * - Update to 0.16.2swills2012-09-022-3/+3 * Update to the 20120831 snapshot of GCC 4.6.4.gerald2012-09-022-9/+3 * Update from 2.4.16 to 2.4.17.osa2012-09-022-3/+3 * VuXML: document CVE-2012-3534, DoS via large number of connectionsrea2012-09-021-0/+31 * Fix typo and thereby really enable the GNUTLS options. [1]gerald2012-09-021-6/+2 * Fix xclip-copyfile's use of mktempeadler2012-09-021-0/+4 * Correct typo.tj2012-09-021-1/+1 * - (Attempt) to fix build on i386.nox2012-09-021-1/+6 * vuxml matches on PKGNAME, not on the port directory.eadler2012-09-021-5/+2 * Apply the rest of the changes that should have got in with r303495:rakuco2012-09-0212-258/+21 * baresip is a small, modular telephony client that workscrees2012-09-026-0/+145 * Fix build on FreeBSD 10crees2012-09-022-1/+11 * Add "modified" tag to the Java 7 entryrea2012-09-021-0/+1 * - Update to 2.6.4swills2012-09-022-3/+3 * Update to 1.37.nobutaka2012-09-022-3/+3 * - Update to 0.6.1swills2012-09-022-3/+3 * devel/gwenhywfar:rakuco2012-09-0224-158/+416 * Update to 0.270lth2012-09-022-7/+5 * Update to 0.11lth2012-09-022-5/+4 * - Update to 2.4.1swills2012-09-022-3/+3 * - Update to 1.08rafan2012-09-022-3/+3 * - Update to 0.24rafan2012-09-022-6/+3 * Update to 1.44.04 (distversion 1.4404)lth2012-09-022-3/+3 * Update to 0.96lth2012-09-023-3/+10 * - Update to 2.47rafan2012-09-022-3/+3 * Ice Ice Penguin is a remake of an old SEGA Dreamcast game called Chu Chugjb2012-09-015-0/+98 * - Update ruby-gnome ports to 1.1.5swills2012-09-013-4/+5 * - Update to 0.5.3swills2012-09-012-3/+3 * Also update mencoder to 2012-07-21 snapshot that I missed.nox2012-09-012-12/+12 * Pacman Arena is a Pacman clone in full 3D with a few surprises.gjb2012-09-014-0/+76 * Update to 2012-07-21 snapshot.nox2012-09-019-68/+97 * - Update to 2.0.3 .nox2012-09-0114-242/+215 * Update to 2012.04.04 needed by the upcoming vlc 2.0.3 .nox2012-09-013-13/+43 * - Update to 2.0.2bdrewery2012-09-013-8/+9 * Fix typo and thereby really enable the GNUTLS options. [1]gerald2012-09-011-6/+2 * Fix typo in icon directory name.rakuco2012-09-011-1/+1 * Fix previous commit, some parts of patch was rejectedpawel2012-09-011-6/+1 * Fix previous commit, some parts of patch was rejectedpawel2012-09-011-7/+1 * - Update to version 1.10pawel2012-09-012-10/+13 * - Update to version 1.0.1pawel2012-09-013-15/+17 * - Update www/mediawiki to 1.19.2wen2012-09-015-6/+73 * The automatic addressbook plugin for Roundcube collects each address youjase2012-09-016-0/+109 * Librem is a portable and generic library for real-time audio and videocrees2012-09-015-0/+51 * Libre is a portable and generic library for real-time communicationscrees2012-09-01