summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-10-27 13:03:34 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-10-27 13:03:34 +0000
commit737e1f928ed8911b4842672e9f1135ba507af056 (patch)
treecda130f131a3a36aa51cfb8ce30735173df5bba8 /usr.bin/tmux/tmux.h
parenta4855ba34ae239d33e5e272345ff1340a29271d1 (diff)
Move the poll registration functions into the server-*.c files.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index 3e6344ed4e2..f8b7778a6f9 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.150 2009/10/26 17:46:33 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.151 2009/10/27 13:03:33 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -1574,18 +1574,22 @@ const char *key_string_lookup_key(int);
extern struct clients clients;
extern struct clients dead_clients;
int server_start(char *);
+void server_poll_add(int, int, void (*)(int, int, void *), void *);
/* server-client.c */
void server_client_create(int);
void server_client_lost(struct client *);
+void server_client_prepare(void);
void server_client_callback(int, int, void *);
void server_client_loop(void);
/* server-job.c */
+void server_job_prepare(void);
void server_job_callback(int, int, void *);
void server_job_loop(void);
/* server-window.c */
+void server_window_prepare(void);
void server_window_callback(int, int, void *);
void server_window_loop(void);