| Junio C Hamano | e0173ad | 2007-04-29 06:38:52 | [diff] [blame] | 1 | #ifndef GIT_EXEC_CMD_H |
| 2 | #define GIT_EXEC_CMD_H |
| Michal Ostrowski | 77cb17e | 2006-01-11 02:12:17 | [diff] [blame] | 3 | |
| Scott R Parish | 384df83 | 2007-10-27 08:36:51 | [diff] [blame] | 4 | extern void git_set_argv_exec_path(const char *exec_path); |
| Steve Haslam | 4dd47c3 | 2009-01-18 12:00:10 | [diff] [blame] | 5 | extern const char *git_extract_argv0_path(const char *path); |
| 6 | extern const char *git_exec_path(void); |
| Johannes Sixt | e1464ca | 2008-07-21 19:19:52 | [diff] [blame] | 7 | extern void setup_path(void); |
| Steffen Prohaska | 4933e5e | 2008-07-28 05:50:27 | [diff] [blame] | 8 | extern const char **prepare_git_cmd(const char **argv); |
| Junio C Hamano | 9201c70 | 2006-03-05 10:47:29 | [diff] [blame] | 9 | extern int execv_git_cmd(const char **argv); /* NULL terminated */ |
| Ramsay Jones | 9fe3edc | 2013-07-18 20:02:12 | [diff] [blame] | 10 | LAST_ARG_MUST_BE_NULL |
| Junio C Hamano | 9201c70 | 2006-03-05 10:47:29 | [diff] [blame] | 11 | extern int execl_git_cmd(const char *cmd, ...); |
| Steffen Prohaska | 2de9de5 | 2008-07-13 20:31:18 | [diff] [blame] | 12 | extern const char *system_path(const char *path); |
| Michal Ostrowski | 77cb17e | 2006-01-11 02:12:17 | [diff] [blame] | 13 | |
| Junio C Hamano | e0173ad | 2007-04-29 06:38:52 | [diff] [blame] | 14 | #endif /* GIT_EXEC_CMD_H */ |