/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* camel-service.h : Abstract class for an email service */ /* * * Author : * Bertrand Guiheneuf * * Copyright 1999, 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 */ #ifndef CAMEL_SERVICE_H #define CAMEL_SERVICE_H 1 #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus }*/ #include #include #include #include #define CAMEL_SERVICE_TYPE (camel_service_get_type ()) #define CAMEL_SERVICE(obj) (CAMEL_CHECK_CAST((obj), CAMEL_SERVICE_TYPE, CamelService)) #define CAMEL_SERVICE_CLASS(k) (CAMEL_CHECK_CLASS_CAST ((k), CAMEL_SERVICE_TYPE, CamelServiceClass)) #define CAMEL_IS_SERVICE(o) (CAMEL_CHECK_TYPE((o), CAMEL_SERVICE_TYPE)) struct _CamelService { CamelObject parent_object; struct _CamelServicePrivate *priv; CamelSession *session; CamelProvider *provider; gboolean connected; CamelURL *url; }; typedef struct { CamelObjectClass parent_class; gboolean (*connect) (CamelService *service, CamelException *ex); gboolean (*disconnect) (CamelService *service, gboolean clean, CamelException *ex); /*gboolean (*is_connected) (CamelService *service);*/ GList * (*query_auth_types) (CamelService *service, CamelException *ex); void (*free_auth_types) (CamelService *service, GList *authtypes); char * (*get_name) (CamelService *service, gboolean brief); char * (*get_path) (CamelService *service); } CamelServiceClass; /* query_auth_types returns a GList of these */ typedef struct { char *name, *description, *authproto; gboolean need_password; } CamelServiceAuthType; /* public methods */ CamelService * camel_service_new (CamelType type, CamelSession *session, CamelProvider *provider, CamelURL *url, CamelException *ex); gboolean camel_service_connect (CamelService *service, CamelException *ex); gboolean camel_service_disconnect (CamelService *service, gboolean clean, CamelException *ex); char * camel_service_get_url (CamelService *service); char * camel_service_get_name (CamelService *service, gboolean brief); char * camel_service_get_path (CamelService *service); CamelSession * camel_service_get_session (CamelService *service); CamelProvider * camel_service_get_provider (CamelService *service); GList * camel_service_query_auth_types (CamelService *service, CamelException *ex); void camel_service_free_auth_types (CamelService *service, GList *authtypes); /* convenience functions */ struct hostent * camel_service_gethost (CamelService *service, CamelException *ex); /* Standard Camel function */ CamelType camel_service_get_type (void); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* CAMEL_SERVICE_H */ nd_yarn/devel/electron6/files/serve-10.1.2 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Update devel/readline to 8.0sunpoet2019-04-131-1/+1
* - Switch to new test frameworkamdmi32018-05-031-4/+4
* Update devel/readline to 7.0 patch 3sunpoet2017-06-271-0/+1
* Fix WWWsunpoet2017-06-271-1/+1
* Move to GitHub as the original author of the project, George Gesslein II, isehaupt2017-02-013-7/+11
* - Fix trailing whitespace in pkg-descrs, categories [g-n]*amdmi32016-05-191-1/+1
* Move MASTER_SITES from CRITICAL to LOCAL/ehauptehaupt2015-01-061-1/+1
* Add USES=readline to fix build.adamw2014-07-211-1/+1
* Quiesce mkdirehaupt2014-03-181-2/+2
* Convert USE_BZIP2=yes to USES=tar:bzip2ehaupt2014-03-141-2/+1
* Eliminate inclusion of bsd.port.options.mk where PORT_OPTIONS is not tested forehaupt2014-02-131-2/+0
* Now that this port is staged and DOCS defined we can stop testing for DOCS inehaupt2014-02-131-2/+0
* Support staging.ehaupt2013-10-262-14/+12
* - Remove manual creation and removal of share/applications, as it's now in th...amdmi32013-10-222-2/+0
* Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1
* Remove MAKE_JOBS_SAFE which is now default.ehaupt2013-07-241-2/+0
* - Convert USE_GMAKE to USES=gmakeehaupt2013-07-091-1/+1
* Update WWWehaupt2013-07-051-1/+1
* - Use DOC instead of NOPORTDOCSehaupt2013-01-151-1/+5
* Update WWWehaupt2012-12-201-1/+1
* Restore 'Created by' header information. This has been removed during theehaupt2012-11-041-0/+1
* Update to 16.0.5ehaupt2012-10-232-3/+3
* Update to 16.0.4ehaupt2012-09-132-3/+3
* - Update to 16.0.3ehaupt2012-09-092-8/+3
* Update to 16.0.2ehaupt2012-08-072-3/+3
* Update to 16.0.1ehaupt2012-07-222-3/+3
* Update to 16.0.0ehaupt2012-06-302-3/+3
* Update to 15.8.5ehaupt2012-06-032-3/+3
* Update to 15.8.4ehaupt2012-05-112-3/+3
* Update to 15.8.3ehaupt2012-05-012-3/+3
* Update to 15.8.2ehaupt2012-03-262-3/+3
* Update to 15.8.1ehaupt2012-03-112-18/+4
* Update to 15.8.0ehaupt2012-02-192-3/+3
* Update to 15.7.3ehaupt2012-02-032-3/+3
* Update to 15.7.2ehaupt2011-12-272-3/+3
* Update to 15.7.1ehaupt2011-11-192-3/+3
* Update to 15.7.0ehaupt2011-11-032-3/+3
* Update to 15.6.5ehaupt2011-10-042-3/+3
* Update to 15.6.4ehaupt2011-08-242-3/+3
* - Update to 15.6.3ehaupt2011-08-052-4/+5
* Update to 15.6.2ehaupt2011-06-132-3/+3
* Update to 15.6.1ehaupt2011-06-062-3/+3
* Update to 15.6.0ehaupt2011-05-012-3/+3
* Update to 15.5.3ehaupt2011-04-202-4/+3
* Fix install targetehaupt2011-03-221-1/+2
* Update to 15.5.2ehaupt2011-03-222-3/+3
* Update to 15.5.1ehaupt2011-03-112-3/+3
* Update to 15.5.0ehaupt2011-02-262-3/+3
* Update to 15.4.4ehaupt2011-02-152-3/+3
* Update to 15.4.3ehaupt2011-02-072-3/+3
* Update to 15.4.2ehaupt2011-01-282-3/+3
* Update to 15.4.1 and add LICENSEehaupt2011-01-232-3/+4
* Update to 15.4.0ehaupt2011-01-132-3/+3
* Update to 15.3.7ehaupt2010-12-272-3/+3
* Update to 15.3.6ehaupt2010-12-232-3/+3
* Update to 15.3.5ehaupt2010-12-012-3/+3
* Update to 15.3.4ehaupt2010-11-152-3/+3
* Update to 15.3.3ehaupt2010-11-092-3/+3
* Update to 15.3.2ehaupt2010-10-312-4/+3
* Update to 15.3.1ehaupt2010-10-242-4/+4
* Update to 15.3.0ehaupt2010-10-112-4/+4
* Update to 15.2.2ehaupt2010-09-282-4/+4
* Update to 15.2.1ehaupt2010-09-012-4/+4
* Update to 15.2.0ehaupt2010-08-242-4/+4
* Update to 15.1.6ehaupt2010-08-102-4/+4
* Update to 15.1.5ehaupt2010-07-222-4/+4
* Update to 15.1.4ehaupt2010-06-212-4/+4
* Update to 15.1.3ehaupt2010-06-072-4/+4
* Update to 15.1.2ehaupt2010-06-062-4/+4
* Update to 15.1.1ehaupt2010-05-252-4/+4
* Update to 15.1.0ehaupt2010-05-172-6/+8
* Update to 15.0.8ehaupt2010-05-022-5/+19
* 15.0.7ehaupt2010-04-162-4/+4
* Update to 15.0.6ehaupt2010-03-272-4/+4
* Update to 15.0.5ehaupt2010-01-282-4/+4
* Update to 15.0.4ehaupt2010-01-202-8/+4
* - Introduce regression-test targetehaupt2010-01-091-1/+5
* Update to 15.0.3ehaupt2010-01-092-4/+4
* Update to 15.0.2ehaupt2010-01-062-4/+4
* Update to 15.0.1ehaupt2009-12-182-5/+4
* - Update post-patch section