summaryrefslogtreecommitdiffstats
path: root/mailmap.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 09:49:36 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 09:49:36 +0000
commit5ec6074f0633939fd17d94111d10c6c6b062978c (patch)
treebfaa17b5a64abc66c918e9c70969e519d9e1df8e /mailmap.h
parentInitial commit. (diff)
downloadgit-upstream.tar.xz
git-upstream.zip
Adding upstream version 1:2.30.2.upstream/1%2.30.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mailmap.h')
-rw-r--r--mailmap.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/mailmap.h b/mailmap.h
new file mode 100644
index 0000000..d0e6564
--- /dev/null
+++ b/mailmap.h
@@ -0,0 +1,12 @@
+#ifndef MAILMAP_H
+#define MAILMAP_H
+
+struct string_list;
+
+int read_mailmap(struct string_list *map, char **repo_abbrev);
+void clear_mailmap(struct string_list *map);
+
+int map_user(struct string_list *map,
+ const char **email, size_t *emaillen, const char **name, size_t *namelen);
+
+#endif