aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-10-12 00:12:33 +0000
committerTiago Cunha <tcunha@gmx.com>2009-10-12 00:12:33 +0000
commitd7fa9bc056be2bc89af85825ffc6e6144759a806 (patch)
tree64bd55becedefe7d8fb3a24708f7ec7385366f9a /tmux.h
parent256a55b33b812ca1ecd03149f879828a960592fe (diff)
downloadrtmux-d7fa9bc056be2bc89af85825ffc6e6144759a806.tar.gz
rtmux-d7fa9bc056be2bc89af85825ffc6e6144759a806.tar.bz2
rtmux-d7fa9bc056be2bc89af85825ffc6e6144759a806.zip
Sync OpenBSD patchset 379:
Put all jobs on a global all_jobs list and use that in server.c instead of running through all the clients.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/tmux.h b/tmux.h
index 0ce17340..8a5c09a9 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.465 2009-10-12 00:08:12 tcunha Exp $ */
+/* $Id: tmux.h,v 1.466 2009-10-12 00:12:33 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -576,8 +576,10 @@ struct job {
void *data;
RB_ENTRY(job) entry;
+ SLIST_ENTRY(job) lentry;
};
RB_HEAD(jobs, job);
+SLIST_HEAD(joblist, job);
/* Screen selection. */
struct screen_sel {
@@ -1197,7 +1199,7 @@ struct options_entry *options_set_data(
void *options_get_data(struct options *, const char *);
/* job.c */
-extern struct jobs jobs_tree;
+extern struct joblist all_jobs;
int job_cmp(struct job *, struct job *);
RB_PROTOTYPE(jobs, job, entry, job_cmp);
void job_tree_init(struct jobs *);