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

#include "util.h"
#include <zlib.h>

/* Like getline, but read from a gzFile. Allocation is with talloc.
 * Returns:
 *
 *   UTIL_SUCCESS, UTIL_OUT_OF_MEMORY, UTIL_ERRNO, UTIL_GZERROR
 *			Consult util.h for description
 *
 *   UTIL_EOF		End of file encountered before 
 *			any characters read
 */
util_status_t
gz_getline (void *ctx, char **lineptr, ssize_t *bytes_read, gzFile stream);

/* return a suitable error string based on the return status
 *  from gz_readline
 */

const char *
gz_error_string (util_status_t status, gzFile stream);
#endif

debug log:

solving dbaa0b9 ...
found dbaa0b9 in https://yhetil.org/notmuch/1396712636-10640-3-git-send-email-david@tethera.net/ ||
	https://yhetil.org/notmuch/1396712636-10640-1-git-send-email-david@tethera.net/

applying [1/1] https://yhetil.org/notmuch/1396712636-10640-3-git-send-email-david@tethera.net/
diff --git a/util/zlib-extra.h b/util/zlib-extra.h
new file mode 100644
index 0000000..dbaa0b9

1:19: trailing whitespace.
 *   UTIL_EOF		End of file encountered before 
Checking patch util/zlib-extra.h...
Applied patch util/zlib-extra.h cleanly.
warning: 1 line adds whitespace errors.

skipping https://yhetil.org/notmuch/1396712636-10640-1-git-send-email-david@tethera.net/ for dbaa0b9
index at:
100644 dbaa0b972281942741f7f8e02b594c865d77a89a	util/zlib-extra.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).