unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob a7fc885aa82ca0d92a8b2fcc540d199e2f941622 782 bytes (raw)
name: util/repair.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
 
#ifndef _REPAIR_H
#define _REPAIR_H

#include "gmime-extra.h"

#ifdef __cplusplus
extern "C" {
#endif

/* This is a collection of message structure and message format repair
 * techniques that are designed to improve the user experience of
 * notmuch */

/* Detecting and repairing "Mixed-Up MIME mangling". see
 * https://tools.ietf.org/html/draft-dkg-openpgp-pgpmime-message-mangling-00#section-4.1
 * If this returns NULL, the message was probably not "Mixed up".  If
 * it returns non-NULL, then there is a newly-allocated MIME part that
 * represents the repaired version.  The caller is responsible for
 * ensuring that any returned object is freed with g_object_unref. */
GMimeObject*
_notmuch_repair_mixed_up_mangled (GMimeObject *part);

#ifdef __cplusplus
}
#endif
#endif

debug log:

solving a7fc885a ...
found a7fc885a in https://yhetil.org/notmuch/20190531074842.16789-3-dkg@fifthhorseman.net/
found 70e2b7bc in https://yhetil.org/notmuch.git/
preparing index
index prepared:
100644 70e2b7bcc9d6733104a1a7ebc19b6eb2f93bd9ee	util/repair.h

applying [1/1] https://yhetil.org/notmuch/20190531074842.16789-3-dkg@fifthhorseman.net/
diff --git a/util/repair.h b/util/repair.h
index 70e2b7bc..a7fc885a 100644

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

index at:
100644 a7fc885aa82ca0d92a8b2fcc540d199e2f941622	util/repair.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).