Linux cmake file
[opsoft.git] / gclib2 / include / dexec.h
blobb209d4eda50d846538fd0cdc033c4dbb1986dab1
1 /*
2 * (c) Oleg Puchinin 2006
3 * graycardinalster@gmail.com
5 */
7 #ifndef DEXEC_H
8 #define DEXEC_H
10 enum {
11 DEXEC_INULL = (1<<3),
12 DEXEC_ONULL = (1<<4),
13 DEXEC_ENULL = (1<<5),
14 DEXEC_EXEC = (1<<6),
15 DEXEC_IPIPE = (1<<7),
16 DEXEC_OPIPE = (1<<8),
17 DEXEC_EPIPE = (1<<9),
18 DEXEC_OTMP = (1<<10),
19 DEXEC_ETMP = (1<<11),
20 DEXEC_WAIT = (1<<12),
23 struct __dexec_t {
24 int cmd;
25 long param;
28 int dexec_wflags (int flags) ;
29 int dexec_rflags (int flags) ;
30 void Dexec_init (struct __djob_t * ctx) ;
31 __djob_t * Dexec (unsigned int opts, char * cmd);
32 int Dexec_done (struct __djob_t *ctx) ;
34 #endif