summaryrefslogtreecommitdiff
path: root/mailmap.h
blob: 4b2ca3a7de972c10f214b38a25be522abcbbafd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef MAILMAP_H
#define MAILMAP_H

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