summaryrefslogtreecommitdiff
path: root/alpine/smime.h
blob: f56edfd7527d555a4593852dd520c62415578c1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*
 * $Id: smime.h 1074 2008-06-04 00:08:43Z hubert@u.washington.edu $
 *
 * ========================================================================
 * Copyright 2013-2020 Eduardo Chappa
 * Copyright 2008 University of Washington
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * ========================================================================
 */

#ifdef SMIME
#ifndef PINE_SMIME_INCLUDED
#define PINE_SMIME_INCLUDED


#include "../pith/state.h"
#include "../pith/send.h"
#include "../pith/smime.h"


/* exported prototypes */
int    smime_get_passphrase(void);
int    smime_certificate_error_ask(int error);
void   smime_info_screen(struct pine *ps);
void   smime_config_screen(struct pine *, int edit_exceptions);
int    smime_related_var(struct pine *, struct variable *);
void   display_smime_info(struct pine *, ENVELOPE *, BODY *);
int    smime_check(BODY *);	/* check that the message is smime */

#endif /* PINE_SMIME_INCLUDED */
#endif /* SMIME */