e349698c1e796cfe687e3a6914caadbb6aa370e4
[apps/madmutt.git] / lib-crypt / cryptglue.c
1 /*
2  * Copyright notice from original mutt:
3  * Copyright (C) 2003  Werner Koch <wk@gnupg.org>
4  * Copyright (C) 2004 g10 Code GmbH
5  *
6  * This file is part of mutt-ng, see http://www.muttng.org/.
7  * It's licensed under the GNU General Public License,
8  * please see the file GPL in the top level source directory.
9  */
10
11 /*
12    This file dispatches the generic crypto functions to the
13    implemented backend or provides dummy stubs.  Note, that some
14    generic functions are handled in crypt.c.
15 */
16
17 /* Note: This file has been changed to make use of the new module
18    system.  Consequently there's a 1:1 mapping between the functions
19    contained in this file and the functions implemented by the crypto
20    modules.  */
21
22 #include <lib-lib/lib-lib.h>
23
24 #include "mutt.h"
25 #include "crypt.h"
26
27 /* PGP */
28
29 /* fixme: needs documentation. */
30 void crypt_pgp_invoke_getkeys (address_t * addr)
31 {
32 }
33
34 /* Generate a PGP public key attachment. */
35 BODY *crypt_pgp_make_key_attachment (char *tempf)
36 {
37     return NULL;
38 }
39
40 /* S/MIME */
41
42 /* fixme: Needs documentation. */
43 void crypt_smime_getkeys (ENVELOPE * env)
44 {
45 }
46