repo.or.cz
/
opsoft.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
New plugins system
[opsoft.git]
/
gclib2
/
modules
/
Core
/
dexec.h
blob
03ecdc880fd2a44d1ae7878c5670679190a99419
1
/*
2
* (c) Oleg Puchinin 2006
3
* graycardinalster@gmail.com
4
*
5
*/
6
7
#ifndef DEXEC_H
8
#define DEXEC_H
9
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
),
21
};
22
23
struct
__dexec_t
{
24
int
cmd
;
25
long
param
;
26
};
27
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
) ;
31
32
#endif
33