]>
Commit | Line | Data |
---|---|---|
7c1c6782 JH |
1 | #ifndef MAILMAP_H |
2 | #define MAILMAP_H | |
3 | ||
ef3ca954 EN |
4 | struct string_list; |
5 | ||
6073b3b5 | 6 | extern char *git_mailmap_file; |
1b261c20 | 7 | extern char *git_mailmap_blob; |
47115569 | 8 | |
f54ca6ae JK |
9 | /* Flags for read_mailmap_file() */ |
10 | #define MAILMAP_NOFOLLOW (1<<0) | |
11 | ||
12 | int read_mailmap_file(struct string_list *map, const char *filename, | |
13 | unsigned flags); | |
14 | int read_mailmap_blob(struct string_list *map, const char *name); | |
15 | ||
4e168333 | 16 | int read_mailmap(struct string_list *map); |
0925ce4d MSO |
17 | void clear_mailmap(struct string_list *map); |
18 | ||
ea02ffa3 AP |
19 | int map_user(struct string_list *map, |
20 | const char **email, size_t *emaillen, const char **name, size_t *namelen); | |
7c1c6782 JH |
21 | |
22 | #endif |