summaryrefslogtreecommitdiffstats
path: root/tmux.h
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-12-16 18:01:31 +0000
committerThomas Adam <thomas@xteddy.org>2019-12-16 18:01:31 +0000
commit52b6ca570627ea58f7b42543ae37398ae63e06d9 (patch)
tree5a371d1ae3d7506d7c6389e9d422abf6dc81618b /tmux.h
parente6b02dec199a0f058aee4e9575f57d92b39501f5 (diff)
parent1bdd4828bd0a13d6fb81c903078ad99ff2429b5d (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/tmux.h b/tmux.h
index bdebf248..96b4e397 100644
--- a/tmux.h
+++ b/tmux.h
@@ -509,13 +509,10 @@ struct msg_command {
struct msg_read_open {
int stream;
int fd;
- char path[PATH_MAX];
-};
+}; /* followed by path */
struct msg_read_data {
int stream;
- size_t size;
- char data[BUFSIZ];
};
struct msg_read_done {
@@ -526,15 +523,12 @@ struct msg_read_done {
struct msg_write_open {
int stream;
int fd;
- char path[PATH_MAX];
int flags;
-};
+}; /* followed by path */
struct msg_write_data {
int stream;
- size_t size;
- char data[BUFSIZ];
-};
+}; /* followed by data */
struct msg_write_ready {
int stream;
@@ -2236,7 +2230,6 @@ void server_client_push_stdout(struct client *);
void server_client_push_stderr(struct client *);
void printflike(2, 3) server_client_add_message(struct client *, const char *,
...);
-char *server_client_get_path(struct client *, const char *);
const char *server_client_get_cwd(struct client *, struct session *);
/* server-fn.c */