/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* camel-transport.h : Abstract class for an email transport */ /* * * Author : * Dan Winship * * Copyright 2000 Ximian, Inc. (www.ximian.com) * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public * License as published by the Free Software Foundation. * * 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 */ #ifndef CAMEL_TRANSPORT_H #define CAMEL_TRANSPORT_H 1 #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus }*/ #include #include #define CAMEL_TRANSPORT_TYPE (camel_transport_get_type ()) #define CAMEL_TRANSPORT(obj) (CAMEL_CHECK_CAST((obj), CAMEL_TRANSPORT_TYPE, CamelTransport)) #define CAMEL_TRANSPORT_CLASS(k) (CAMEL_CHECK_CLASS_CAST ((k), CAMEL_TRANSPORT_TYPE, CamelTransportClass)) #define CAMEL_IS_TRANSPORT(o) (CAMEL_CHECK_TYPE((o), CAMEL_TRANSPORT_TYPE)) struct _CamelTransport { CamelService parent_object; struct _CamelTransportPrivate *priv; gboolean supports_8bit; }; typedef struct { CamelServiceClass parent_class; gboolean (*can_send) (CamelTransport *transport, CamelMedium *message); gboolean (*send) (CamelTransport *transport, CamelMedium *message, CamelException *ex); gboolean (*send_to) (CamelTransport *transport, CamelMedium *message, CamelAddress *from, CamelAddress *recipients, CamelException *ex); } CamelTransportClass; /* public methods */ gboolean camel_transport_can_send (CamelTransport *transport, CamelMedium *message); gboolean camel_transport_send (CamelTransport *transport, CamelMedium *message, CamelException *ex); gboolean camel_transport_send_to (CamelTransport *transport, CamelMedium *message, CamelAddress *from, CamelAddress *recipients, CamelException *ex); /* Standard Camel function */ CamelType camel_transport_get_type (void); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* CAMEL_TRANSPORT_H */ npm_and_yarn/devel/electron4/files/minimist-1.2.3'>dependabot/npm_and_yarn/devel/electron4/files/minimist-1.2.3 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* net/dhcpcd: 6.10.1 -> 6.10.2pi2016-04-162-23/+14
* net/dhcpcd: update 6.9.4 -> 6.10.0junovitch2016-01-081-5/+2
* Update to upstream release 6.8.2riggs2015-06-011-2/+2
* - Update to version 6.5.1, add pkg-message [1]pawel2014-11-051-0/+16
* net/dhcpcd: update 5.5.6 -> 6.4.2robak2014-07-291-30/+0
* Update to 5.5.6.delphij2013-10-291-0/+30
* Begin the process of deprecating sysutils/rc_subr bydougb2010-03-271-1/+1
* - Use %%PREFIX%% in rc scriptlme2008-01-021-3/+3
* dhcpcd is an RFC2131 compliant DHCP client.lme2008-01-016bdf73a5b9873517a402b'>Reset maintainership: Pedro's dev machine has been stolen :-(thierry2006-07-011-1/+1
* Add feappv 2.0, finite Element Analysis Program "personal version".thierry2006-04-04