From 1c813061532c2f664994d10da7ad1449d9ff523d Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Mon, 18 Jul 2011 13:21:50 +0200 Subject: 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 --- tecparse.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tecparse.h') 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); -- cgit v1.2.3