summaryrefslogtreecommitdiff
path: root/mailmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'mailmap.h')
-rw-r--r--mailmap.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/mailmap.h b/mailmap.h
index 6e48f83ced..4b2ca3a7de 100644
--- a/mailmap.h
+++ b/mailmap.h
@@ -1,7 +1,11 @@
#ifndef MAILMAP_H
#define MAILMAP_H
-int read_mailmap(struct string_list *map, const char *filename, char **repo_abbrev);
+int read_mailmap(struct string_list *map, char **repo_abbrev);
+void clear_mailmap(struct string_list *map);
+
int map_email(struct string_list *mailmap, const char *email, char *name, int maxlen);
+int map_user(struct string_list *mailmap,
+ char *email, int maxlen_email, char *name, int maxlen_name);
#endif