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

typedef enum util_status {
    /**
     * No error occurred.
     */
    UTIL_SUCCESS = 0,
    /**
     * Out of memory.
     */
    UTIL_OUT_OF_MEMORY,
    /**
     * End of stream reached while attempting to read.
     */
    UTIL_EOF,
    /**
     * Low level error occured, consult errno.
     */
    UTIL_ERRNO,
    /**
     * Zlib error occured, call gzerror for details.
     */
    UTIL_GZERROR
} util_status_t;

const char *
util_error_string (util_status_t status);
#endif

debug log:

solving d12fadb ...
found d12fadb 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).