Fixes
[opsoft.git] / gclib2 / modules / Core / dexec.h
blob03ecdc880fd2a44d1ae7878c5670679190a99419
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 void Dexec_init (struct __djob_t * ctx) ;
29 __djob_t * Dexec (unsigned int opts, char * cmd);
30 int Dexec_done (struct __djob_t *ctx) ;
32 #endif