aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/tmux.h b/tmux.h
index 455bb2ac..e57b607c 100644
--- a/tmux.h
+++ b/tmux.h
@@ -845,10 +845,13 @@ struct client_ctx {
struct buffer *srv_in;
struct buffer *srv_out;
-#define CCTX_DETACH 0x1
-#define CCTX_EXIT 0x2
-#define CCTX_SHUTDOWN 0x4
- int flags;
+ enum {
+ CCTX_DETACH,
+ CCTX_EXIT,
+ CCTX_DIED,
+ CCTX_SHUTDOWN,
+ } exittype;
+ const char *errstr;
};
/* Key/command line command. */
@@ -1261,7 +1264,7 @@ int client_init(char *, struct client_ctx *, int, int);
int client_main(struct client_ctx *);
/* client-msg.c */
-int client_msg_dispatch(struct client_ctx *, char **);
+int client_msg_dispatch(struct client_ctx *);
/* client-fn.c */
void client_write_server(struct client_ctx *, enum hdrtype, void *, size_t);