aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-gpg-context.h
blob: 0d98fed75d51f796164b86ab2afc47cfb52859a3 (plain) (blame)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
 *  Authors: Jeffrey Stedfast <fejj@ximian.com>
 *
 *  Copyright 2002 Ximian, Inc. (www.ximian.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 __CAMEL_GPG_CONTEXT_H__
#define __CAMEL_GPG_CONTEXT_H__

#ifdef __cplusplus
extern "C" {
#pragma }
#endif /* __cplusplus */

#include <camel/camel-cipher-context.h>

#define CAMEL_GPG_CONTEXT_TYPE     (camel_gpg_context_get_type ())
#define CAMEL_GPG_CONTEXT(obj)     (CAMEL_CHECK_CAST((obj), CAMEL_GPG_CONTEXT_TYPE, CamelGpgContext))
#define CAMEL_GPG_CONTEXT_CLASS(k) (CAMEL_CHECK_CLASS_CAST ((k), CAMEL_GPG_CONTEXT_TYPE, CamelGpgContextClass))
#define CAMEL_IS_GPG_CONTEXT(o)    (CAMEL_CHECK_TYPE((o), CAMEL_GPG_CONTEXT_TYPE))

typedef struct _CamelGpgContext CamelGpgContext;
typedef struct _CamelGpgContextClass CamelGpgContextClass;

struct _CamelGpgContext {
    CamelCipherContext parent_object;
    
    gboolean always_trust;
};

struct _CamelGpgContextClass {
    CamelCipherContextClass parent_class;
    
};


CamelType camel_gpg_context_get_type (void);

CamelCipherContext *camel_gpg_context_new (CamelSession *session);

void camel_gpg_context_set_always_trust (CamelGpgContext *ctx, gboolean trust);

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* __CAMEL_GPG_CONTEXT_H__ */
d>1-3/+3 * Update to 5.2.5.Jung-uk Kim2017-02-011-3/+3 * Update to 5.2.4.Jung-uk Kim2017-01-021-3/+3 * Update libreoffice to 5.2.3 and liborcus to 0.11.2Baptiste Daroussin2016-11-121-2/+3 * Update to 5.0.6.Jung-uk Kim2016-05-071-2/+2 * Update to 5.0.5.Jung-uk Kim2016-02-161-2/+2 * Update to 5.0.4.Jung-uk Kim2015-12-181-2/+2 * Update to 5.0.3.Jung-uk Kim2015-11-041-2/+2 * Update to 5.0.2.Jung-uk Kim2015-09-242-3/+3 * Update LibreOffice to 5.0.1.Jung-uk Kim2015-09-021-2/+2 * Update to 4.3.7.Jung-uk Kim2015-04-261-2/+2 * - Update to 4.3.6.Jung-uk Kim2015-02-211-2/+2 * Update to 4.3.5.Jung-uk Kim2014-12-191-2/+2 * Update to 4.3.4.Jung-uk Kim2014-11-271-2/+2 * Update to 4.3.3.Jung-uk Kim2014-11-011-2/+2 * Update to 4.3.2.Jung-uk Kim2014-10-171-2/+2 * Update to 4.2.5.Jung-uk Kim2014-06-241-2/+2 * Update to libreoffice 4.2.4Baptiste Daroussin2014-06-111-2/+2 * Update to 4.1.6.Jung-uk Kim2014-05-071-2/+2 * Update to 4.1.5. It is partially based on the following PR.Jung-uk Kim2014-02-261-2/+2 * - Update to 4.0.6.Jung-uk Kim2013-10-262-3/+2 * Add NO_STAGE all over the place in preparation for the staging support (cat: ...Baptiste Daroussin2013-09-211-0/+1 * Update to 4.0.5.Jung-uk Kim2013-08-231-2/+2 * Update to 4.0.4.Jung-uk Kim2013-06-201-2/+2 * Update to 4.0.3.Jung-uk Kim2013-05-101-2/+2 * Update to 4.0.2.Jung-uk Kim2013-04-171-2/+2 * Update to 4.0.1.Jung-uk Kim2013-03-092-3/+3 * Update to 3.6.5.Jung-uk Kim2013-02-051-2/+2 * - Update to 3.5.7.Jung-uk Kim2012-10-272-7/+2 * - Update to 3.5.6.Jung-uk Kim2012-08-241-2/+2 * - Update LibreOffice and the language packs to 3.5.5.Jung-uk Kim2012-07-181-2/+2 * - The FreeBSD Office team is proud to announce LibreOffice.org 3.5.4 releaseDima Panov2012-07-011-2/+2