From 6ddb06d37232a9d02da996e0a83d5acd52002ffc Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 21 Mar 2013 14:24:33 +0000 Subject: Extend jobs to support writing and use that for copy-pipe instead of popen, from Chris Johnsen. --- tmux.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 7c4c55be..834ac6e5 100644 --- a/tmux.h +++ b/tmux.h @@ -776,9 +776,6 @@ struct job { int fd; struct bufferevent *event; - struct bufferevent *out; - int outdone; - void (*callbackfn)(struct job *); void (*freefn)(void *); void *data; @@ -1610,8 +1607,8 @@ int options_table_find(const char *, const struct options_table_entry **, /* job.c */ extern struct joblist all_jobs; -struct job *job_run( - const char *, void (*)(struct job *), void (*)(void *), void *); +struct job *job_run(const char *, struct session *, + void (*)(struct job *), void (*)(void *), void *); void job_free(struct job *); void job_died(struct job *, int); -- cgit