aboutsummaryrefslogtreecommitdiff
path: root/tecparse.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2011-07-18 13:21:50 +0200
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2011-07-18 13:21:50 +0200
commit1c813061532c2f664994d10da7ad1449d9ff523d (patch)
treebe9000c9bc687b8d82e9d4588f1116edcc4541ec /tecparse.h
parent8fb00e474e9274ab8840b2fd35c4dc083ddaa3f2 (diff)
downloadvideoteco-fork-1c813061532c2f664994d10da7ad1449d9ff523d.tar.gz
revised EC command
unidirectional pipe with no arguments. with one/two arguments, the buffer content is piped into the process and replaced with its output. * fixed error handling, now the child's exit status matters if everything else is OK, as well * colon modifier has standard behaviour of returning the command status
Diffstat (limited to 'tecparse.h')
-rw-r--r--tecparse.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tecparse.h b/tecparse.h
index fcccd25..c3f4f6e 100644
--- a/tecparse.h
+++ b/tecparse.h
@@ -297,7 +297,7 @@ struct undo_token {
#define UNDO_C_SELECT_TAGS 25
#define UNDO_C_SET_EXIT_FLAG 26
-int cmd_oscmd(struct cmd_token *ct);
+int cmd_oscmd(struct cmd_token *, int, int, int, char *);
int buff_insert_from_buffer_with_undo( struct cmd_token *,
struct buff_header *,int,struct buff_header *,int,int);
int buff_delete_with_undo( struct cmd_token *,struct buff_header *,int,int);