unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob 42d16da451f1a8a660b2f3182c34ba0c03c70cfe 1040 bytes (raw)
name: util/string-map.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
35
36
 
#ifndef STRING_MAP_H
#define STRING_MAP_H

#include <stdbool.h>
typedef struct _notmuch_string_map  notmuch_string_map_t;
typedef struct _notmuch_string_map_iterator notmuch_string_map_iterator_t;
notmuch_string_map_t *
_notmuch_string_map_create (const void *ctx);

void
_notmuch_string_map_append (notmuch_string_map_t *map,
			    const char *key,
			    const char *value);

const char *
_notmuch_string_map_get (notmuch_string_map_t *map, const char *key);

notmuch_string_map_iterator_t *
_notmuch_string_map_iterator_create (notmuch_string_map_t *map, const char *key,
				     bool exact);

bool
_notmuch_string_map_iterator_valid (notmuch_string_map_iterator_t *iter);

void
_notmuch_string_map_iterator_move_to_next (notmuch_string_map_iterator_t *iter);

const char *
_notmuch_string_map_iterator_key (notmuch_string_map_iterator_t *iterator);

const char *
_notmuch_string_map_iterator_value (notmuch_string_map_iterator_t *iterator);

void
_notmuch_string_map_iterator_destroy (notmuch_string_map_iterator_t *iterator);
#endif

debug log:

solving 42d16da4 ...
found 42d16da4 in https://yhetil.org/notmuch/20180623014247.17834-3-david@tethera.net/

applying [1/1] https://yhetil.org/notmuch/20180623014247.17834-3-david@tethera.net/
diff --git a/util/string-map.h b/util/string-map.h
new file mode 100644
index 00000000..42d16da4

Checking patch util/string-map.h...
Applied patch util/string-map.h cleanly.

index at:
100644 42d16da451f1a8a660b2f3182c34ba0c03c70cfe	util/string-map.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).