Add map_user() and clear_mailmap() to mailmap
[git/git.git] / mailmap.h
1 #ifndef MAILMAP_H
2 #define MAILMAP_H
3
4 int read_mailmap(struct string_list *map, char **repo_abbrev);
5 void clear_mailmap(struct string_list *map);
6
7 int map_email(struct string_list *mailmap, const char *email, char *name, int maxlen);
8 int map_user(struct string_list *mailmap,
9 char *email, int maxlen_email, char *name, int maxlen_name);
10
11 #endif