2018-10-17 22:13:26 +00:00
|
|
|
#ifndef ALIAS_H
|
|
|
|
#define ALIAS_H
|
2018-05-20 18:40:06 +00:00
|
|
|
|
2023-04-10 09:08:30 +00:00
|
|
|
struct strbuf;
|
2018-05-20 18:40:08 +00:00
|
|
|
struct string_list;
|
|
|
|
|
2018-05-20 18:40:06 +00:00
|
|
|
char *alias_lookup(const char *alias);
|
2023-04-10 09:08:30 +00:00
|
|
|
/* Quote argv so buf can be parsed by split_cmdline() */
|
|
|
|
void quote_cmdline(struct strbuf *buf, const char **argv);
|
2018-05-20 18:40:06 +00: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 18:40:08 +00:00
|
|
|
void list_aliases(struct string_list *list);
|
2018-05-20 18:40:06 +00:00
|
|
|
|
|
|
|
#endif
|