summaryrefslogtreecommitdiffstats
path: root/mailmap.h
blob: d0e65646cb57e60aa9021c0d8754c6844199acb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
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