aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-03-21 14:24:33 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-03-21 14:24:33 +0000
commit6ddb06d37232a9d02da996e0a83d5acd52002ffc (patch)
treefb0e3bbd9f4f7e556a08f5e69a871505204efbec /tmux.h
parent69d97f6d4b7a373eb2c05ef2c3ca18be3271871b (diff)
downloadrtmux-6ddb06d37232a9d02da996e0a83d5acd52002ffc.tar.gz
rtmux-6ddb06d37232a9d02da996e0a83d5acd52002ffc.tar.bz2
rtmux-6ddb06d37232a9d02da996e0a83d5acd52002ffc.zip
Extend jobs to support writing and use that for copy-pipe instead of popen,
from Chris Johnsen.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h7
1 files changed, 2 insertions, 5 deletions
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);