aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h24
1 files changed, 11 insertions, 13 deletions
diff --git a/tmux.h b/tmux.h
index b5608da3..cc1c79e8 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD$ */
+/* $Id$ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -23,29 +23,22 @@
#include <sys/param.h>
#include <sys/time.h>
-#include <sys/queue.h>
-#include <sys/tree.h>
#include <sys/uio.h>
-#include <bitstring.h>
#include <event.h>
-#include <getopt.h>
-#include <imsg.h>
#include <limits.h>
#include <signal.h>
#include <stdarg.h>
-#include <stdint.h>
#include <stdio.h>
#include <termios.h>
#include "array.h"
+#include "compat.h"
+
extern char *__progname;
extern char **environ;
-/* Default global configuration file. */
-#define TMUX_CONF "/etc/tmux.conf"
-
/* Default prompt history length. */
#define PROMPT_HISTORY 100
@@ -478,6 +471,10 @@ struct msg_identify_data {
char term[TERMINAL_LENGTH];
+#ifdef __CYGWIN__
+ char ttyname[TTY_NAME_MAX];
+#endif
+
#define IDENTIFY_UTF8 0x1
#define IDENTIFY_256COLOURS 0x2
/* 0x4 unused */
@@ -2343,9 +2340,10 @@ int utf8_append(struct utf8_data *, u_char);
u_int utf8_combine(const struct utf8_data *);
u_int utf8_split2(u_int, u_char *);
-/* procname.c */
-char *get_proc_name(int, char *);
-char *get_proc_cwd(int);
+/* osdep-*.c */
+char *osdep_get_name(int, char *);
+char *osdep_get_cwd(int);
+struct event_base *osdep_event_init(void);
/* log.c */
void log_open(int, const char *);