option.c: fixed warnings
[k8jam.git] / src / execcmd.h
blobcc6ba9e16f9834f4a800e6679888f1594bf0cf36
1 /*
2 * Copyright 1993, 1995 Christopher Seiwald.
3 * This file is part of Jam - see jam.c for Copyright information.
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, version 3 of the License ONLY.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
18 * execcmd.h - execute a shell script
20 #ifndef JAMH_EXECCMD_H
21 #define JAMH_EXECCMD_H
24 extern void execcmd (const char *string, void (*func)(void *closure, int status), void *closure, LIST *shell);
25 extern int execwait (void);
28 #define EXEC_CMD_OK (0)
29 #define EXEC_CMD_FAIL (1)
30 #define EXEC_CMD_INTR (2)
33 #endif