| 1 | #ifndef ALIAS_H |
| 2 | #define ALIAS_H |
| 3 | |
| 4 | struct strbuf; |
| 5 | struct string_list; |
| 6 | |
| 7 | char *alias_lookup(const char *alias); |
| 8 | /* Quote argv so buf can be parsed by split_cmdline() */ |
| 9 | void quote_cmdline(struct strbuf *buf, const char **argv); |
| 10 | int split_cmdline(char *cmdline, const char ***argv); |
| 11 | /* Takes a negative value returned by split_cmdline */ |
| 12 | const char *split_cmdline_strerror(int cmdline_errno); |
| 13 | void list_aliases(struct string_list *list); |
| 14 | |
| 15 | #endif |