projects
/
notmuch.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
test: add test for ,S message without 'unread' in new.tags
[notmuch.git]
/
util
/
util.h
1
#ifndef _UTIL_H
2
#define _UTIL_H
3
4
typedef enum util_status {
5
/**
6
* No error occurred.
7
*/
8
UTIL_SUCCESS = 0,
9
/**
10
* Out of memory.
11
*/
12
UTIL_OUT_OF_MEMORY,
13
/**
14
* End of stream reached while attempting to read.
15
*/
16
UTIL_EOF,
17
/**
18
* Low level error occured, consult errno.
19
*/
20
UTIL_ERRNO,
21
/**
22
* Zlib error occured, call gzerror for details.
23
*/
24
UTIL_GZERROR
25
} util_status_t;
26
27
const char *
28
util_error_string (util_status_t status);
29
#endif