/* -*- 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; 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); gboolean openpgp_verify (const gchar *in, gint inlen, const gchar *sigin, gint siglen, CamelException *ex); #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* __OPENPGP_UTILS_H__ */ 4/files/lodash-4.17.19'>dependabot/npm_and_yarn/devel/electron4/files/lodash-4.17.19 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* - Update ImageMagick to 6.4.9.2mm2009-02-111-2/+2
* - Chase gsl shlib bumpmiwi2009-01-131-2/+2
* Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.rafan2008-08-211-1/+0
* Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-1/+1
* Fix configure.thierry2008-05-131-11/+3
* Really update ImageMagick before trying to chase it...thierry2008-04-272-2/+22
* Chase ImageMagick upgrade.thierry2008-04-271-2/+2
* - Chase graphics/ImageMagick shlib version bumpmiwi2008-04-221-2/+2
* - Remove unneeded dependency from gtk12/gtk20 [1]miwi2008-04-201-2/+2
* - Chase the gsl shared lib bump.jadawin2008-04-081-2/+2
* - Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORGmiwi2008-03-231-1/+1
* Upgrade to 0.9pre6.thierry2007-12-124-88/+7
* Upgrade to 0.9pre5.thierry2007-07-1810-191/+74
* chase math/gsl lib versionijliao2007-06-291-2/+2
* - Welcome X.org 7.2 \o/.flz2007-05-201-1/+1
* science/netcdflwhsu2007-04-101-2/+2
* Fix build with gcc42 (specialization after instantiation).thierry2007-03-243-7/+101
* - Chase plplot updatepav2006-06-061-2/+2
* - Change dependencies reflecting update in graphics/ImageMagickmnag2006-05-241-2/+2
* - Bump PORTREVISION and change lib version because math/gsl are updated.mnag2006-05-061-3/+3
* Conversion to a single libtool environment.ade2006-02-231-3/+3
* Repocopy math/netcdf to science/netcdf, along with cdf, hdf and hdf5.thierry2006-01-311-1/+1
* SHA256ifyedwin2006-01-241-0/+1
* Chase libversion bumb to libMagick.so.9edwin2006-01-051-1/+2
* math/py-numarray is also needed as a BUILD_DEPENDS.thierry2005-11-041-0/+1