aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2010-05-14 14:30:01 +0000
committerTiago Cunha <tcunha@gmx.com>2010-05-14 14:30:01 +0000
commitfc69b9ccb79fc5d1a345918d1ceccf990eb723ef (patch)
treead7b59d4d79c4e4b6500c4141ccd43245c62daae /tmux.h
parentd3dd6709bc4e2006e8aaf1e90bcca84212a30e13 (diff)
downloadrtmux-fc69b9ccb79fc5d1a345918d1ceccf990eb723ef.tar.gz
rtmux-fc69b9ccb79fc5d1a345918d1ceccf990eb723ef.tar.bz2
rtmux-fc69b9ccb79fc5d1a345918d1ceccf990eb723ef.zip
Sync OpenBSD patchset 696:
Make signal handler setup/teardown two common functions instead of six, and reset SIGCHLD after fork to fix problems with some shells. From Romain Francoise.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/tmux.h b/tmux.h
index da760776..70b96532 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.555 2010-04-06 21:59:19 nicm Exp $ */
+/* $Id: tmux.h,v 1.556 2010-05-14 14:30:01 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -1252,6 +1252,7 @@ extern struct options global_options;
extern struct options global_s_options;
extern struct options global_w_options;
extern struct environ global_environ;
+extern struct event_base *ev_base;
extern char *cfg_file;
extern int debug_level;
extern int be_quiet;
@@ -1582,8 +1583,6 @@ const char *key_string_lookup_key(int);
extern struct clients clients;
extern struct clients dead_clients;
int server_start(char *);
-void server_signal_set(void);
-void server_signal_clear(void);
void server_update_socket(void);
/* server-client.c */
@@ -1899,6 +1898,10 @@ void window_choose_ready(struct window_pane *,
void queue_window_name(struct window *);
char *default_window_name(struct window *);
+/* signal.c */
+void set_signals(void(*handler)(int, short, unused void *));
+void clear_signals(void);
+
/* session.c */
extern struct sessions sessions;
extern struct sessions dead_sessions;