diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-03-21 14:24:33 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-03-21 14:24:33 +0000 |
commit | 6ddb06d37232a9d02da996e0a83d5acd52002ffc (patch) | |
tree | fb0e3bbd9f4f7e556a08f5e69a871505204efbec /tmux.h | |
parent | 69d97f6d4b7a373eb2c05ef2c3ca18be3271871b (diff) | |
download | rtmux-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.h | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -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); |