/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * Authors: Jeffrey Stedfast * * Copyright 2001 Ximian, Inc. (www.ximian.com) * * This program is free software; you can redistribute it and/or * modify it under the terms of version 2 of the GNU General Public * License as published by the Free Software Foundation. * * 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_CMS_CONTEXT_H #define CAMEL_CMS_CONTEXT_H #include #include #include #include #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus */ #define CAMEL_CMS_CONTEXT_TYPE (camel_cms_context_get_type ()) #define CAMEL_CMS_CONTEXT(obj) (CAMEL_CHECK_CAST((obj), CAMEL_CMS_CONTEXT_TYPE, CamelCMSContext)) #define CAMEL_CMS_CONTEXT_CLASS(k) (CAMEL_CHECK_CLASS_CAST ((k), CAMEL_CMS_CONTEXT_TYPE, CamelCMSContextClass)) #define CAMEL_IS_CMS_CONTEXT(o) (CAMEL_CHECK_TYPE((o), CAMEL_CMS_CONTEXT_TYPE)) typedef enum { CAMEL_CMS_TYPE_DATA, CAMEL_CMS_TYPE_SIGNED, CAMEL_CMS_TYPE_ENVELOPED, CAMEL_CMS_TYPE_ENCRYPTED } CamelCMSType; typedef struct _CamelCMSSigner { struct _CamelCMSSigner *next; char *signercn; char *status; } CamelCMSSigner; typedef struct _CamelCMSValidityInfo { struct _CamelCMSValidityInfo *next; CamelCMSType type; CamelCMSSigner *signers; } CamelCMSValidityInfo; typedef struct _CamelCMSContext { CamelObject parent_object; struct _CamelCMSContextPrivate *priv; CamelSession *session; } CamelCMSContext; typedef struct _CamelCMSContextClass { CamelObjectClass parent_class; CamelMimeMessage *(*sign) (CamelCMSContext *ctx, CamelMimeMessage *message, const char *userid, gboolean signing_time, gboolean detached, CamelException *ex); CamelMimeMessage *(*certsonly) (CamelCMSContext *ctx, CamelMimeMessage *message, const char *userid, GPtrArray *recipients, CamelException *ex); CamelMimeMessage *(*encrypt) (CamelCMSContext *ctx, CamelMimeMessage *message, const char *userid, GPtrArray *recipients, CamelException *ex); CamelMimeMessage *(*envelope) (CamelCMSContext *ctx, CamelMimeMessage *message, const char *userid, GPtrArray *recipients, CamelException *ex); CamelMimeMessage *(*decode) (CamelCMSContext *ctx, CamelMimeMessage *message, CamelCMSValidityInfo **info, CamelException *ex); } CamelCMSContextClass; CamelType camel_cms_context_get_type (void); CamelCMSContext *camel_cms_context_new (CamelSession *session); void camel_cms_context_construct (CamelCMSContext *context, CamelSession *session); /* cms routines */ CamelMimeMessage *camel_cms_sign (CamelCMSContext *ctx, CamelMimeMessage *message, const char *userid, gboolean signing_time, gboolean detached, CamelException *ex); CamelMimeMessage *camel_cms_certsonly (CamelCMSContext *ctx, CamelMimeMessage *message, const char *userid, GPtrArray *recipients, CamelException *ex); CamelMimeMessage *camel_cms_encrypt (CamelCMSContext *ctx, CamelMimeMessage *message, const char *userid, GPtrArray *recipients, CamelException *ex); CamelMimeMessage *camel_cms_envelope (CamelCMSContext *ctx, CamelMimeMessage *message, const char *userid, GPtrArray *recipients, CamelException *ex); CamelMimeMessage *camel_cms_decode (CamelCMSContext *ctx, CamelMimeMessage *message, CamelCMSValidityInfo **info, CamelException *ex); void camel_cms_signer_free (CamelCMSSigner *signer); void camel_cms_validity_info_free (CamelCMSValidityInfo *info); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* CAMEL_CMS_CONTEXT_H */ e-3.28'>gnome-3.28 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* New port: Prerelease version of libXfont from freedesktop.org:anholt2003-12-225-0/+60
* - Use canonical form (ports@FreeBSD.org) in MAINTAINER linesergei2003-12-211-1/+1
* s/rpm2cpio/rpm2cpio.pl/ after the recent update of archivers/rpm2cpio (thenetchild2003-12-125-10/+10
* Add Code2000, a shareware Unicode reference font. It contains over 34000 glyphs!pav2003-12-096-0/+158
* - On many systems, ttmkfdir was the only reason to install freetype1.pav2003-12-096-103/+59
* Fix packing list.trevor2003-11-213-3/+6
* Define USE_PERL5_BUILD, not erroneous USE_PERL.trevor2003-11-201-1/+1
* Define USE_PERL to make Perl available for (mostly deprecated)trevor2003-11-201-0/+1
* new port providing Truetype fonts to use with Linux programstrevor2003-11-204-0/+57
* Decrease PORTREVISION from 2 to 0. I hope no one has installedtrevor2003-11-193-0/+3
* new Linux/i386 binary port of Fontconfigtrevor2003-11-1910-0/+163
* USE_REINPLACE need be defined only when REINPLACE_CMD is used.trevor2003-11-173-3/+0
* Move these ports to the new arabic category after the repocopies. Fixwill2003-11-1620-368/+0
* Switch MAINTAINER to x11@FreeBSD.org for group maintaining of these ports.anholt2003-11-126-6/+6
* utilize SITE_PERLijliao2003-10-243-87/+86
* Make fetchable.trevor2003-10-211-1/+2
* New Port: x11-fonts/ppantsfontsedwin2003-10-037-0/+62
* New arabic port: khototedwin2003-10-035-0/+84
* New arabic port: kacst_fontsedwin2003-10-036-0/+68
* New arabic port: ae_fonts_ttfedwin2003-10-036-0/+154
* New arabic port: ae_fonts_monoedwin2003-10-036-0/+62
* Update vertion to 1.2.1taoka2003-09-303-4/+4
* Fix typo in MASTER_SITES, add MASTER_SITE_SUBDIR.olgeni2003-09-283-3/+6
* Cease FreeBSD port maintainershipsedwin2003-09-241-1/+1
* Add a new MASTER_SITE since the Fontconfig site went away.marcus2003-09-183-4/+3
* Remove fontilus. It has been rolled into gnomecontrolcenter2.marcus2003-09-186-79/+0
* Bump PORTREVISION for previous commit.kris2003-08-171-1/+1
* Switch to tcl/tk 8.4 and add tcl84 virtual categorykris2003-08-171-3/+3
* 1) Move install code to Makefile rather than in patch.olgeni2003-08-034-48/+13
* RESTRICTED implies NO_CDROM and NO_PACKAGEkris2003-07-311-2/+0
* a) Fix some additional undetected fonts,maho2003-07-282-11/+18
* Updated the foundries. Especially for print/gsfont (See also PR #54647)maho2003-07-271-0/+107
* Fix dependence on rpm2cpio.trevor2003-07-201-2/+2
* This is a first for me. Correct a typo in the patch _name_ so the patchmarcus2003-07-192-1/+1
* Revert some of the FreeType code in fontconfig to fix some font renderingmarcus2003-07-192-1/+644
* Fix a problem with certain languages not having any fonts in Mozilla andmarcus2003-07-192-0/+16
* Update to 2.2.90.marcus2003-07-183-2/+4
* Correct misplaced spacesarved2003-07-101-2/+2
* Remove WWW tag: the referenced page does not say anything about the fontsolgeni2003-07-032-4/+0
* Unbreak fetch: use MASTER_SITES_SOURCEFORGE.olgeni2003-06-301-1/+1
* Use MASTER_SITES_SOURCEFORGE.olgeni2003-06-301-1/+1
* Unbreak fetch using MASTER_SITES_SOURCEFORGE.olgeni2003-06-301-1/+1
* update maintainer's email address.leeym2003-06-241-2/+2
* Update to 2.2.1.marcus2003-06-182-2/+2
* Utilize USE_GNOME= pkgconfig.adamw2003-06-17