repo.or.cz
/
cinelerra_cv
/
mob.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
r1006: configure: Use libx264_pic instead of libx264 if available.
[cinelerra_cv/mob.git]
/
cinelerra
/
pipe.h
blob
b3635758156e45b94b41e019a7274f001ecfe4ae
1
#ifndef PIPE_H
2
#define PIPE_H
3
4
#include <fcntl.h>
5
#include
"guicast.h"
6
#include
"asset.h"
7
8
extern
"C"
{
9
extern
int
sigpipe_received
;
10
}
11
12
class
Pipe
{
13
public
:
14
Pipe
(
char
*
command
,
char
*
sub_str
=
0
,
char
sub_char
=
'%'
);
15
~
Pipe
() ;
16
int
open_read
() ;
17
int
open_write
() ;
18
void
close
() ;
19
20
int
fd
;
21
private
:
22
int
substitute
() ;
23
int
open
(
char
*
mode
) ;
24
25
char
sub_char
;
26
char
*
sub_str
;
27
char
*
command
;
28
char
complete
[
BCTEXTLEN
];
29
FILE
*
file
;
30
};
31
32
#endif
/* PIPE_H */