/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* camel-medium.h : class for a medium object */ /* * * Author : * Bertrand Guiheneuf * * Copyright 1999, 2000 HelixCode (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_MEDIUM_H #define CAMEL_MEDIUM_H 1 #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus }*/ #include #include "camel-types.h" #include "camel-data-wrapper.h" #define CAMEL_MEDIUM_TYPE (camel_medium_get_type ()) #define CAMEL_MEDIUM(obj) (GTK_CHECK_CAST((obj), CAMEL_MEDIUM_TYPE, CamelMedium)) #define CAMEL_MEDIUM_CLASS(k) (GTK_CHECK_CLASS_CAST ((k), CAMEL_MEDIUM_TYPE, CamelMediumClass)) #define CAMEL_IS_MEDIUM(o) (GTK_CHECK_TYPE((o), CAMEL_MEDIUM_TYPE)) struct _CamelMedium { CamelDataWrapper parent_object; GHashTable *headers; CamelDataWrapper *content; /* part real content */ }; typedef struct { CamelDataWrapperClass parent_class; /* Virtual methods */ void (*add_header) (CamelMedium *medium, gchar *header_name, gchar *header_value); void (*remove_header) (CamelMedium *medium, const gchar *header_name); const gchar * (*get_header) (CamelMedium *medium, const gchar *header_name); CamelDataWrapper * (*get_content_object) (CamelMedium *medium); void (*set_content_object) (CamelMedium *medium, CamelDataWrapper *content); } CamelMediumClass; /* Standard Gtk function */ GtkType camel_medium_get_type (void); /* public methods */ void camel_medium_add_header (CamelMedium *medium, gchar *header_name, gchar *header_value); void camel_medium_remove_header (CamelMedium *medium, const gchar *header_name); const gchar *camel_medium_get_header (CamelMedium *medium, const gchar *header_name); CamelDataWrapper *camel_medium_get_content_object (CamelMedium *medium); void camel_medium_set_content_object (CamelMedium *medium, CamelDataWrapper *content); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* CAMEL_MEDIUM_H */ t/npm_and_yarn/devel/electron4/files/node-fetch-2.6.1 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Mark MAKE_JOBS_SAFEehaupt2009-03-271-0/+1
* Unbreak security/vpnc and graphics/pecomato. Those ports were fixed by 133053,ehaupt2009-03-261-4/+0
* Mark BROKEN on ${OSVERSION} >= 800067 && ${ARCH} == "amd64"ehaupt2009-03-261-0/+4
* - Fix build after addition of getdelim() and strndup()miwi2009-03-251-0/+13
* - Bump PORTREVISION due to share library version bump in security/libgcryptrafan2009-01-061-1/+2
* Update to 0.5.3 (files forgotten in previous commit)ehaupt2008-11-241-10/+7
* Update to 0.5.3ehaupt2008-11-243-16/+14
* Use kldstat(8) to check for the availability of the if_tun module in thesobomax2008-09-262-3/+22
* - Remove duplicates from MAKE_ENV after inclusion of CC and CXX in default MA...pav2008-07-251-2/+1
* Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-1/+1
* Use MASTER_SITE_CRITICALehaupt2008-03-281-2/+1
* Follow the change of the pid file in the rc script.ehaupt2008-03-232-4/+5
* Fix vpnc-disconnect scriptehaupt2008-03-222-11/+1
* Some Cisco Concentrator refuse connection if the presentation version stringehaupt2008-03-072-13/+46
* - Update RC scriptehaupt2008-03-062-12/+11
* The upgrade of ports/security/vpnc to version 0.5.1 introduced some glitchesehaupt2008-03-013-4/+14
* Chase libgcrypt library versionarved2008-02-291-1/+2
* - Update to 0.5.1ehaupt2008-02-286-51/+88
* Reset delta@lackas.net due to maintainer-timeouts and no response to email.linimon2007-10-121-1/+1
* - In managed mode the script does not return the proper value due to $?rafan2007-09-232-5/+8
* - Make port fully respect CFLAGSehaupt2007-08-072-6/+7
* - Respect %%PREFIX%%miwi2007-03-212-0/+10
* - Update to 0.4.0miwi2007-03-1610-378/+45
* - Improve the style and behaviour of the rc.d scriptgabor2007-03-062-53/+60
* - Update rc.d scriptgabor2007-02-273-35/+99
* - Add NAT keepalive capability as per RFC 3947miwi2006-07-302-1/+49
* Remove USE_REINPLACE from all categories starting with Sedwin2006-05-131-1/+0
* SHA256ifyedwin2006-01-241-2/+1
* - Unbreak vpnc-disconnect by fixing the config.c patchlawrance2005-09-043-19/+18
* - fix connect scriptleeym2005-05-285-9/+80
* Update to 0.3.3krion2005-05-144-17/+14
* - Update vpnc.sh-sample-fulltunnel to vpnc-wrapper 1.25leeym2005-04-182-6/+6
* Update libgcrypt to 1.2.1. Changes:arved2005-01-111-1/+2
* Update to 0.3.2vs2004-11-234-39/+3
* Update to 0.3.1:vs2004-11-187-83/+185
* s/BROKEN/IGNORE/ to prevent package buildkris2004-06-211-1/+1
* - Update to vpnc-0.2-rm+zomb.1.tar.gzkrion2004-05-145-162/+175
* - Fix MASTER_SITESvs2004-05-132-7/+7
* Update to vpnc-0.2-rm+zomb-pre9markus2004-05-054-9/+33
* Update libgcrypt to the new stable version 1.2.0arved2004-05-031-2/+2
* Update to vpnc-0.2-rm+zomb-pre8arved2004-04-296-27/+32
* SIZEify (maintainer timeout)trevor2004-03-311-0/+1
* - use tun0 as default-interfacemarkus2004-03-022-3/+11
* Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.marcus2004-02-041-1/+1
* Update to new version.arved2004-01-304-13/+18
* - Add pkg-message forgotten to add by last commit.krion2003-12-231-0/+7
* - using PREFIX/CC/CFLAGS (with help from Markus Brueffer)krion2003-12-237-17/+182
* - Fix typo in start/stop scriptkrion2003-12-181-1/+1