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