/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * Authors: Jeffrey Stedfast * * Copyright 2000 Helix Code, Inc. (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 Street #330, Boston, MA 02111-1307, USA. * */ #ifndef __OPENPGP_UTILS_H__ #define __OPENPGP_UTILS_H__ #include #include #ifdef __cplusplus extern "C" { #pragma } #endif /* __cplusplus */ typedef enum { PGP_TYPE_NONE, PGP_TYPE_PGP2, PGP_TYPE_PGP5, PGP_TYPE_GPG } PgpType; typedef enum { PGP_HASH_TYPE_NONE, PGP_HASH_TYPE_MD5, PGP_HASH_TYPE_SHA1 } PgpHashType; typedef struct _PgpValidity PgpValidity; void openpgp_init (const gchar *path, PgpType type); gboolean openpgp_detect (const gchar *text); gboolean openpgp_sign_detect (const gchar *text); gchar *openpgp_decrypt (const gchar *ciphertext, gint cipherlen, gint *outlen, CamelException *ex); gchar *openpgp_encrypt (const gchar *in, gint inlen, const GPtrArray *recipients, gboolean sign, const gchar *userid, CamelException *ex); gchar *openpgp_clearsign (const gchar *plaintext, const gchar *userid, PgpHashType hash, CamelException *ex); gchar *openpgp_sign (const gchar *in, gint inlen, const gchar *userid, PgpHashType hash, CamelException *ex); PgpValidity *openpgp_verify (const gchar *in, gint inlen, const gchar *sigin, gint siglen, CamelException *ex); PgpValidity *openpgp_validity_new (void); void openpgp_validity_init (PgpValidity *validity); gboolean openpgp_validity_get_valid (PgpValidity *validity); void openpgp_validity_set_valid (PgpValidity *validity, gboolean valid); gchar *openpgp_validity_get_description (PgpValidity *validity); void openpgp_validity_set_description (PgpValidity *validity, const gchar *description); void openpgp_validity_clear (PgpValidity *validity); void openpgp_validity_free (PgpValidity *validity); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __OPENPGP_UTILS_H__ */ value='dependabot/npm_and_yarn/devel/electron4/files/node-fetch-2.6.1'>dependabot/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
* Register conflicts.cy2005-07-171-0/+2
* - Fix "Variable PKGNAMESUFFIX is recursive" problem encountered on olderpav2005-06-121-0/+4
* - Don't clobber PKGNAMESUFFIX when imlib is usedpav2005-06-061-1/+1
* Udate 2.4.18 --> 2.4.19cy2004-10-212-3/+3
* Update 2.4.17 --> 2.4.18cy2004-04-072-3/+6
* Other ports, e.g. fvwm2-i18n, reference this port. Make LATEST_LINKcy2004-02-141-1/+6
* Define unique LATEST_LINK.cy2004-02-071-0/+1
* Update 2.4.16 -> 2.4.17cy2003-10-312-4/+3
* Add multibyte support.cy2003-07-101-0/+5
* Update 2.4.15 --> 2.4.16cy2003-07-032-2/+2
* Remove USE_GNOMENG.marcus2003-04-211-1/+0
* Clear moonlight beckons.ade2003-03-072-1/+1
* Update 2.4.14 --> 2.4.15cy2003-02-232-2/+2
* Update 2.4.13 -> 2.4.14cy2003-01-072-2/+2
* o Rollback PORTCOMMENT modifications while this feature's implementationlioux2002-11-112-2/+1
* Use PORTCOMMENT.cy2002-11-072-1/+2
* Update 2.4.12 --> 2.4.13cy2002-11-052-2/+2
* Upgrade 2.4.9 --> 2.4.12cy2002-10-112-2/+2
* ${PERL} -> ${REINPLACE_CMD}cy2002-09-141-1/+2
* Remove pkg-plist redundancy.cy2002-09-122-41/+38
* Pkg-plist should reflect that FvwmGtk is installed only when GTK is detected.cy2002-09-102-8/+6
* Fix install error message.cy2002-09-091-1/+3
* Fix package removal problems due to missing man page symlinks in packingcy2002-09-093-0/+30
* Fix package build and package deinstall when not using GNOME.cy2002-09-092-3/+8
* Deploy USE_GNOMENG infrastructurelioux2002-09-021-5/+6
* Upgrade 2.4.8 --> 2.4.9cy2002-08-172-2/+2
* Upgrade 2.4.7 --> 2.4.8cy2002-06-132-3/+3
* Only depend on GTK & Imlib if we're buildling the GNOME version.petef2002-05-272-6/+10
* Add some more config knobs.petef2002-04-251-1/+9
* Update to 2.4.7.petef2002-04-252-2/+2
* Update to 2.4.6 and use the bzip2 distfile.petef2002-03-292-2/+3
* Update to 2.4.5petef2002-02-072-2/+11
* Adjust port for distfile repacking. Diffs between old and new onlywill2002-01-292-2/+2
* Send the proper CONFIGURE_ARGS to disable gnome support.petef2001-12-251-1/+1
* - update to 2.4.4petef2001-12-243-42/+42
* Add missing manpage and @dirrm.petef2001-12-152-1/+3
* The FvwmM4 module needs gm4 to function properly.petef2001-11-222-0/+17
* Update to 2.4.3petef2001-10-302-2/+2
* Update to 2.4.2petef2001-10-292-2/+2
* Change my email address to petef@FreeBSD.org for the ports I maintain.petef2001-08-231-1/+1
* Update to 2.4.0dwcjr2001-07-08