/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* camel-data-wrapper.h : Abstract class for a data wrapper */ /* * * Author : * Bertrand Guiheneuf * * Copyright 1999, 2000 Ximian, Inc. (www.ximian.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_DATA_WRAPPER_H #define CAMEL_DATA_WRAPPER_H 1 #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus }*/ #include #include #define CAMEL_DATA_WRAPPER_TYPE (camel_data_wrapper_get_type ()) #define CAMEL_DATA_WRAPPER(obj) (CAMEL_CHECK_CAST((obj), CAMEL_DATA_WRAPPER_TYPE, CamelDataWrapper)) #define CAMEL_DATA_WRAPPER_CLASS(k) (CAMEL_CHECK_CLASS_CAST ((k), CAMEL_DATA_WRAPPER_TYPE, CamelDataWrapperClass)) #define CAMEL_IS_DATA_WRAPPER(o) (CAMEL_CHECK_TYPE((o), CAMEL_DATA_WRAPPER_TYPE)) struct _CamelDataWrapper { CamelObject parent_object; CamelContentType *mime_type; CamelStream *stream; unsigned int offline:1; unsigned int rawtext:1; }; typedef struct { CamelObjectClass parent_class; /* Virtual methods */ void (*set_mime_type) (CamelDataWrapper *data_wrapper, const gchar * mime_type); gchar * (*get_mime_type) (CamelDataWrapper *data_wrapper); CamelContentType * (*get_mime_type_field) (CamelDataWrapper *data_wrapper); void (*set_mime_type_field) (CamelDataWrapper *data_wrapper, CamelContentType *mime_type_field); int (*write_to_stream) (CamelDataWrapper *data_wrapper, CamelStream *stream); int (*construct_from_stream) (CamelDataWrapper *data_wrapper, CamelStream *); } CamelDataWrapperClass; /* Standard Camel function */ CamelType camel_data_wrapper_get_type (void); /* public methods */ CamelDataWrapper * camel_data_wrapper_new(void); int camel_data_wrapper_write_to_stream (CamelDataWrapper *data_wrapper, CamelStream *stream); void camel_data_wrapper_set_mime_type (CamelDataWrapper *data_wrapper, const gchar *mime_type); gchar * camel_data_wrapper_get_mime_type (CamelDataWrapper *data_wrapper); CamelContentType * camel_data_wrapper_get_mime_type_field (CamelDataWrapper *data_wrapper); void camel_data_wrapper_set_mime_type_field (CamelDataWrapper *data_wrapper, CamelContentType *mime_type); int camel_data_wrapper_construct_from_stream (CamelDataWrapper *data_wrapper, CamelStream *stream); gboolean camel_data_wrapper_is_offline (CamelDataWrapper *data_wrapper); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* CAMEL_DATA_WRAPPER_H */ tave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, as a double check, everything INDEX-11 showed depending on lang/gcc7. PR: 231590
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
Remove compatibility code for FreeBSD < 11.2 from all ports. 2018-11-02T13:32:34+00:00 rene rene@FreeBSD.org 2018-11-02T13:32:34+00:00 abe85598b76e65884f63f5d35b14a7a5837c77ee Simplify some ports where DragonFlyBSD no longer needs to be special-cased. Submitted by: rene Reviewed by: bapt, jbeich Differential Revision: https://reviews.freebsd.org/D17724
Simplify some ports where DragonFlyBSD no longer needs to be special-cased.
Submitted by:	rene
Reviewed by:	bapt, jbeich
Differential Revision:	https://reviews.freebsd.org/D17724
This port uses C++17, but doesn't define it, which breaks build on 2018-10-28T16:08:49+00:00 linimon linimon@FreeBSD.org 2018-10-28T16:08:49+00:00 49aad7d8bc8aa554f6ed0035fb0284474084d98f architectures that still use GCC. PR: 231918 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket)
architectures that still use GCC.

PR:		231918
Submitted by:	Piotr Kubaj
Approved by:	portmgr (tier-2 blanket)
net/flower: Update to 0.10 2017-09-18T07:00:55+00:00 ed ed@FreeBSD.org 2017-09-18T07:00:55+00:00 3365074ec2e576478cf19e030a672beec824cfde This release includes proper support for egresses, meaning sandboxed applications can now make outgoing network connections properly. In addition to that, a new utility, flower_ls, can be used to extract a list of registered servers. This is pretty useful for debugging. Bump cloudabi-utils' revision to catch up with .proto changes. Reviewed_by: koobs Approved by: koobs (ports) Differential_Revision: D12399
This release includes proper support for egresses, meaning sandboxed
applications can now make outgoing network connections properly. In
addition to that, a new utility, flower_ls, can be used to extract a
list of registered servers. This is pretty useful for debugging.

Bump cloudabi-utils' revision to catch up with .proto changes.

Reviewed_by: koobs
Approved by: koobs (ports)
Differential_Revision: D12399
Add net/flower. 2017-09-07T12:12:52+00:00 ed ed@FreeBSD.org 2017-09-07T12:12:52+00:00 94a86147548a5aa5061c007d8b000358de188862 The latest versions of CloudABI make use of a separate daemon to facilitate connecting/listening on the network, called Flower. Add a package for this daemon, as it is a build dependency for the latest version of cloudabi-utils. Reviewed by: mat Differential Revision: https://reviews.freebsd.org/D12264
The latest versions of CloudABI make use of a separate daemon to
facilitate connecting/listening on the network, called Flower. Add a
package for this daemon, as it is a build dependency for the latest
version of cloudabi-utils.

Reviewed by:	mat
Differential Revision:	https://reviews.freebsd.org/D12264