Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 46 lines (41 sloc) 1.578 kB
ca5f82c @mrash Removed legacy $Id$ tags from svn
authored
1 /*
e846cdd First cut at GPG encrytion support (decryption and doc update are pen…
Damien Stuart authored
2 *****************************************************************************
3 *
4 * File: gpgme_funcs.h
5 *
6 * Author: Damien S. Stuart
7 *
8 * Purpose: Header for the fwknop gpgme_funcs.c.
9 *
0f6ca00 Updated the GPL blurb at the top of the source files. Added some mis…
Damien Stuart authored
10 * Copyright 2009-2010 Damien Stuart (dstuart@dstuart.org)
11 *
e846cdd First cut at GPG encrytion support (decryption and doc update are pen…
Damien Stuart authored
12 * License (GNU Public License):
13 *
0f6ca00 Updated the GPL blurb at the top of the source files. Added some mis…
Damien Stuart authored
14 * This program is free software; you can redistribute it and/or
15 * modify it under the terms of the GNU General Public License
16 * as published by the Free Software Foundation; either version 2
17 * of the License, or (at your option) any later version.
18 *
19 * This program is distributed in the hope that it will be useful,
20 * but WITHOUT ANY WARRANTY; without even the implied warranty of
21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 * GNU General Public License for more details.
e846cdd First cut at GPG encrytion support (decryption and doc update are pen…
Damien Stuart authored
23 *
0f6ca00 Updated the GPL blurb at the top of the source files. Added some mis…
Damien Stuart authored
24 * You should have received a copy of the GNU General Public License
25 * along with this program; if not, write to the Free Software
26 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
27 * USA
e846cdd First cut at GPG encrytion support (decryption and doc update are pen…
Damien Stuart authored
28 *
29 *****************************************************************************
30 */
31 #ifndef GPGME_FUNCS_H
32 #define GPGME_FUNCS_H 1
33
7008774 Slightly improved and cleaner GPG error handling (there is still plen…
Damien Stuart authored
34 #include "fko_common.h"
35 #include "fko.h"
e846cdd First cut at GPG encrytion support (decryption and doc update are pen…
Damien Stuart authored
36
7008774 Slightly improved and cleaner GPG error handling (there is still plen…
Damien Stuart authored
37 int gpgme_encrypt(fko_ctx_t ctx, unsigned char *in, size_t len, const char *pw, unsigned char **out, size_t *out_len);
38 int gpgme_decrypt(fko_ctx_t ctx, unsigned char *in, size_t len, const char *pw, unsigned char **out, size_t *out_len);
0c7c255 Add more compiler conditionals for GPGME support to fix error during …
Damien Stuart authored
39 #if HAVE_LIBGPGME
6388e8a @mrash added 'const' to function prototype vars where possible
authored
40 int get_gpg_key(fko_ctx_t fko_ctx, gpgme_key_t *mykey, const int signer);
0c7c255 Add more compiler conditionals for GPGME support to fix error during …
Damien Stuart authored
41 #endif
e846cdd First cut at GPG encrytion support (decryption and doc update are pen…
Damien Stuart authored
42
43 #endif /* GPGME_FUNCS_H */
44
45 /***EOF***/
Something went wrong with that request. Please try again.