2018-10-17 16:13:26 -06:00
|
|
|
#ifndef ALIAS_H
|
|
|
|
#define ALIAS_H
|
2018-05-20 12:40:06 -06:00
|
|
|
|
2023-04-10 03:08:30 -06:00
|
|
|
struct strbuf;
|
2018-05-20 12:40:08 -06:00
|
|
|
struct string_list;
|
|
|
|
|
2018-05-20 12:40:06 -06:00
|
|
|
char *alias_lookup(const char *alias);
|
2023-04-10 03:08:30 -06:00
|
|
|
/* Quote argv so buf can be parsed by split_cmdline() */
|
|
|
|
void quote_cmdline(struct strbuf *buf, const char **argv);
|
2018-05-20 12:40:06 -06:00
|
|
|
int split_cmdline(char *cmdline, const char ***argv);
|
|
|
|
/* Takes a negative value returned by split_cmdline */
|
|
|
|
const char *split_cmdline_strerror(int cmdline_errno);
|
2018-05-20 12:40:08 -06:00
|
|
|
void list_aliases(struct string_list *list);
|
2018-05-20 12:40:06 -06:00
|
|
|
|
|
|
|
#endif
|