unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob e6667741c9519aa36be0e3b55b610085816fef84 647 bytes (raw)
name: util/crypto.h 	 # note: path name is non-authoritative(*)

 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
 
#ifndef _CRYPTO_H
#define _CRYPTO_H

#include "notmuch.h"
#include <gmime/gmime.h>

typedef struct _notmuch_crypto {
    GMimeCryptoContext* gpgctx;
    notmuch_bool_t verify;
    notmuch_bool_t decrypt;
    char *gpg_path;
} _notmuch_crypto_t;


notmuch_status_t
_notmuch_crypto_get_gmime_ctx_for_protocol (_notmuch_crypto_t *crypto,
					    const char *protocol,
					    GMimeCryptoContext **ctx);

notmuch_status_t
_notmuch_crypto_set_gpg_path (_notmuch_crypto_t *crypto, const char *gpg_path);

const char *
_notmuch_crypto_get_gpg_path (const _notmuch_crypto_t *crypto);

void
_notmuch_crypto_cleanup (_notmuch_crypto_t *crypto);



#endif

debug log:

solving e666774 ...
found e666774 in https://yhetil.org/notmuch/1453258369-7366-5-git-send-email-dkg@fifthhorseman.net/
found 92357b4 in https://yhetil.org/notmuch/1453258369-7366-4-git-send-email-dkg@fifthhorseman.net/
found 0e65472 in https://yhetil.org/notmuch/1453258369-7366-3-git-send-email-dkg@fifthhorseman.net/

applying [1/3] https://yhetil.org/notmuch/1453258369-7366-3-git-send-email-dkg@fifthhorseman.net/
diff --git a/util/crypto.h b/util/crypto.h
new file mode 100644
index 0000000..0e65472


applying [2/3] https://yhetil.org/notmuch/1453258369-7366-4-git-send-email-dkg@fifthhorseman.net/
diff --git a/util/crypto.h b/util/crypto.h
index 0e65472..92357b4 100644


applying [3/3] https://yhetil.org/notmuch/1453258369-7366-5-git-send-email-dkg@fifthhorseman.net/
diff --git a/util/crypto.h b/util/crypto.h
index 92357b4..e666774 100644

Checking patch util/crypto.h...
Applied patch util/crypto.h cleanly.
Checking patch util/crypto.h...
Applied patch util/crypto.h cleanly.
Checking patch util/crypto.h...
Applied patch util/crypto.h cleanly.

index at:
100644 e6667741c9519aa36be0e3b55b610085816fef84	util/crypto.h

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).