summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-09-27 09:15:58 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-09-27 09:15:58 +0000
commit3fa8f1636486420b9f27b129dbd0f36015d4c24b (patch)
treec018e47c9eb2d78f518a941e7cd87ebe2eb63ab9 /tmux.h
parent187648e8d1d6bc80113e829d7895e1c81ddd3c17 (diff)
Adjust $TMUX environ var to include session index, and don't compact session list on release. Also fix some argument types.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/tmux.h b/tmux.h
index 37c6cf20..32af458c 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.15 2007-09-26 18:50:49 nicm Exp $ */
+/* $Id: tmux.h,v 1.16 2007-09-27 09:15:58 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -466,10 +466,10 @@ int server_msg_dispatch(struct client *);
/* server-fn.c */
void server_write_message(struct client *, const char *, ...);
-void server_write_client(struct client *, u_int, void *, size_t);
+void server_write_client(struct client *, enum hdrtype, void *, size_t);
void server_write_client2(
- struct client *, u_int, void *, size_t, void *, size_t);
-void server_write_clients(struct window *, u_int, void *, size_t);
+ struct client *, enum hdrtype, void *, size_t, void *, size_t);
+void server_write_clients(struct window *, enum hdrtype, void *, size_t);
void server_window_changed(struct client *);
void server_draw_client(struct client *, u_int, u_int);
@@ -499,7 +499,7 @@ void local_output(struct buffer *, size_t);
/* window.c */
extern struct windows windows;
-struct window *window_create(const char *, u_int, u_int);
+struct window *window_create(const char *, const char **, u_int, u_int);
int window_index(struct windows *, struct window *, u_int *);
void window_add(struct windows *, struct window *);
void window_remove(struct windows *, struct window *);