unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob 9974d69368cf91c156295dbe1c2d4a50e235585e 1019 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
27
28
29
30
31
32
33
34
 
#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 */

/* If payload is a cryptographic payload within an encrypted message, and
 * it has a "legacy display" part, then we can skip over it and jump
 * to the actual content, because notmuch already handles protected
 * headers appropriately.
 *
 * This function either returns payload directly (if it does not have
 * a "legacy display" part), or it returns a pointer to its
 * content-bearing subpart, with the "legacy display" part and the
 * surrounding multipart/mixed object bypassed.
 *
 * No new objects are created by calling this function, and the
 * returned object will only be released when the original part is
 * disposed of.
 */
GMimeObject *
_notmuch_repair_crypto_payload_skip_legacy_display (GMimeObject *payload);

#ifdef __cplusplus
}
#endif
#endif

debug log:

solving 9974d693 ...
found 9974d693 in https://yhetil.org/notmuch.git/

(*) 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).