/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* camel-multipart.h : class for a multipart */ /* * * 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_MULTIPART_H #define CAMEL_MULTIPART_H 1 #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus }*/ #include #define CAMEL_MULTIPART_TYPE (camel_multipart_get_type ()) #define CAMEL_MULTIPART(obj) (CAMEL_CHECK_CAST((obj), CAMEL_MULTIPART_TYPE, CamelMultipart)) #define CAMEL_MULTIPART_CLASS(k) (CAMEL_CHECK_CLASS_CAST ((k), CAMEL_MULTIPART_TYPE, CamelMultipartClass)) #define CAMEL_IS_MULTIPART(o) (CAMEL_CHECK_TYPE((o), CAMEL_MULTIPART_TYPE)) struct _CamelMultipart { CamelDataWrapper parent_object; CamelMimePart *parent; GList *parts; gchar *boundary; gchar *preface; gchar *postface; }; typedef struct { CamelDataWrapperClass parent_class; /* Virtual methods */ void (*add_part) (CamelMultipart *multipart, CamelMimePart *part); void (*add_part_at) (CamelMultipart *multipart, CamelMimePart *part, guint index); void (*remove_part) (CamelMultipart *multipart, CamelMimePart *part); CamelMimePart * (*remove_part_at) (CamelMultipart *multipart, guint index); CamelMimePart * (*get_part) (CamelMultipart *multipart, guint index); guint (*get_number) (CamelMultipart *multipart); void (*set_boundary) (CamelMultipart *multipart, gchar *boundary); const gchar * (*get_boundary) (CamelMultipart *multipart); } CamelMultipartClass; /* Standard Camel function */ CamelType camel_multipart_get_type (void); /* public methods */ CamelMultipart * camel_multipart_new (void); void camel_multipart_add_part (CamelMultipart *multipart, CamelMimePart *part); void camel_multipart_add_part_at (CamelMultipart *multipart, CamelMimePart *part, guint index); void camel_multipart_remove_part (CamelMultipart *multipart, CamelMimePart *part); CamelMimePart * camel_multipart_remove_part_at (CamelMultipart *multipart, guint index); CamelMimePart * camel_multipart_get_part (CamelMultipart *multipart, guint index); guint camel_multipart_get_number (CamelMultipart *multipart); void camel_multipart_set_boundary (CamelMultipart *multipart, gchar *boundary); const gchar * camel_multipart_get_boundary (CamelMultipart *multipart); void camel_multipart_set_preface (CamelMultipart *multipart, const char *preface); void camel_multipart_set_postface (CamelMultipart *multipart, const char *postface); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* CAMEL_MULTIPART_H */ dabot/npm_and_yarn/devel/electron6/files/lodash-4.17.19'>dependabot/npm_and_yarn/devel/electron6/files/lodash-4.17.19 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* - update to jpeg-8dinoex2010-02-051-1/+1
* - bump all port that indirectly depends on libjpeg and have not yet been bump...dinoex2009-07-311-0/+1
* - Update CATEGORIEStabthorpe2009-06-291-1/+1
* Update to KDE 3.5.7 / KOffice 1.6.3lofi2007-07-042-5/+4
* - Welcome X.org 7.2 \o/.flz2007-05-201-0/+1
* Update to KDE 3.5.6 / KOffice 1.6.2lofi2007-03-143-5/+4
* Update to KDE 3.5.5 / KOffice 1.6.1lofi2006-12-203-4/+5
* KDE 3.5.4 / KOffice 1.5.2lofi2006-09-132-4/+4
* Update to KOffice 1.5.1lofi2006-05-272-4/+4
* Update to KOffice 1.5.0lofi2006-04-293-6/+5
* SHA256ifyedwin2006-01-221-0/+1
* Update to KDE 3.4.3 / KOffice 1.4.2lofi2005-11-053-4/+3
* Update to KDE 3.4.2 / KOffice 1.4.1lofi2005-08-013-4/+3
* Update to KOffice 1.4.0a.lofi2005-07-063-27/+11
* Update to KOffice 1.3.5lofi2004-12-142-4/+4
* Update to KDE 3.3.1lofi2004-11-082-3/+3
* Update to KDE 3.3lofi2004-08-311-1/+1
* Factor out all but one of the build switches of the KDE main module portslofi2004-08-112-3/+3
* Update to version 1.3.1lofi2004-05-063-3/+4
* Update to KDE 3.2.1 / QT 3.3.1lofi2004-03-101-0/+1
* Update to KDE 3.2.0lofi2004-02-053-7/+22
* Add USE_GETTEXT and bump PORTREVISION.marcus2004-02-041-2/+2
* Now gettext 0.12.1 is gettext-old.trevor2004-01-241-1/+1
* New port: localized messages and documentation for kofficelioux2003-05-203-0/+36
* New port: localized messages and documentation for kofficelioux2003-05-20