/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* camel-medium.h : class for a medium object */ /* * * Authors: Bertrand Guiheneuf * Michael Zucchi * * 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_MEDIUM_H #define CAMEL_MEDIUM_H 1 #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus }*/ #include #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; /* The content of the medium, as opposed to our parent * CamelDataWrapper, which wraps both the headers and the * content. */ CamelDataWrapper *content; }; typedef struct { CamelDataWrapperClass parent_class; /* Virtual methods */ void (*add_header) (CamelMedium *medium, const gchar *header_name, const void *header_value); void (*set_header) (CamelMedium *medium, const gchar *header_name, const void *header_value); void (*remove_header) (CamelMedium *medium, const gchar *header_name); const void * (*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); /* Header get/set interface */ void camel_medium_add_header (CamelMedium *medium, const gchar *header_name, const void *header_value); void camel_medium_set_header (CamelMedium *medium, const gchar *header_name, const void *header_value); void camel_medium_remove_header (CamelMedium *medium, const gchar *header_name); const void *camel_medium_get_header (CamelMedium *medium, const gchar *header_name); /* accessor methods */ 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 */ ption value='dependabot/npm_and_yarn/devel/electron6/files/elliptic-6.5.3'>dependabot/npm_and_yarn/devel/electron6/files/elliptic-6.5.3 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
ModeNameSize
-rw-r--r--.arcconfig107logstatsplainblame
-rw-r--r--.gitignore71logstatsplainblame
-rw-r--r--CHANGES95072logstatsplainblame
-rw-r--r--CONTRIBUTING.md314logstatsplainblame
-rw-r--r--COPYRIGHT1445logstatsplainblame
-rw-r--r--GIDs4565logstatsplainblame
d---------Keywords480logstatsplain
-rw-r--r--LEGAL22014logstatsplainblame
-rw-r--r--MOVED561320logstatsplainblame
-rw-r--r--Makefile6343logstatsplainblame
d---------Mk1881logstatsplain
-rw-r--r--README1298logstatsplainblame
d---------Templates350logstatsplain
d---------Tools112logstatsplain
-rw-r--r--UIDs22015logstatsplainblame
-rw-r--r--UPDATING388208logstatsplainblame
d---------accessibility1273logstatsplain
d---------arabic400logstatsplain
d---------archivers8106logstatsplain
d---------astro4550logstatsplain
d---------audio31033logstatsplain
d---------benchmarks2674logstatsplain
d---------biology3088logstatsplain
d---------cad3038logstatsplain
d---------chinese4642logstatsplain
d---------comms6663logstatsplain
d---------converters6315logstatsplain
d---------databases39020logstatsplain
d---------deskutils10948logstatsplain
d---------devel201222logstatsplain
d---------dns6889logstatsplain
d---------editors9937logstatsplain
d---------emulators6105logstatsplain
d---------finance10989logstatsplain
d---------french960logstatsplain
d---------ftp3642logstatsplain
d---------games42198logstatsplain
d---------german1253logstatsplain
d---------graphics39885logstatsplain
d---------hebrew352logstatsplain
d---------hungarian494logstatsplain
d---------irc4943logstatsplain
d---------japanese10857logstatsplain
d---------java5351logstatsplain
d---------korean1489logstatsplain
d---------lang11523logstatsplain
d---------mail28044logstatsplain
d---------math26254logstatsplain
d---------misc17823logstatsplain
d---------multimedia16245logstatsplain
d---------net-im6769logstatsplain
d---------net-mgmt12560logstatsplain
d---------net-p2p3903logstatsplain
d---------net50110logstatsplain
d---------news2637logstatsplain
d---------palm657logstatsplain
d---------polish757logstatsplain
d---------ports-mgmt2542logstatsplain
d---------portuguese701logstatsplain
d---------print9647logstatsplain
d---------russian1723logstatsplain
d---------science6577logstatsplain
d---------security41165logstatsplain
d---------shells1315logstatsplain
d---------sysutils40449logstatsplain
d---------textproc64034logstatsplain
d---------ukrainian465logstatsplain
d---------vietnamese696logstatsplain
d---------www98954logstatsplain
d---------x11-clocks1983logstatsplain