aboutsummaryrefslogtreecommitdiff
path: root/vis.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-02-05 22:21:44 +0100
committerMarc André Tanner <mat@brain-dump.org>2017-02-05 22:21:44 +0100
commit6deb6e077fa85a83d5bd4f54f1f416508c77c126 (patch)
treeb1d4b91dcae6ba9bbc82888d35b401d95403f34b /vis.h
parentbf9fc971602cff5907528da14cb6428a971b598f (diff)
downloadvis-6deb6e077fa85a83d5bd4f54f1f416508c77c126.tar.gz
vis-6deb6e077fa85a83d5bd4f54f1f416508c77c126.tar.xz
vis: add file argument to vis_pipe
Diffstat (limited to 'vis.h')
-rw-r--r--vis.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/vis.h b/vis.h
index 6ea3d1d..5f5ad94 100644
--- a/vis.h
+++ b/vis.h
@@ -488,7 +488,7 @@ bool vis_prompt_cmd(Vis*, const char *cmd);
* if read_std{out,err} are non-NULL they will be called when output from
* the forked process is available.
*/
-int vis_pipe(Vis *vis, Filerange *range, const char *argv[],
+int vis_pipe(Vis*, File*, Filerange*, const char *argv[],
void *stdout_context, ssize_t (*read_stdout)(void *stdout_context, char *data, size_t len),
void *stderr_context, ssize_t (*read_stderr)(void *stderr_context, char *data, size_t len));