summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2017-02-14 18:13:05 +0000
committernicm <nicm@openbsd.org>2017-02-14 18:13:05 +0000
commit527df7dd49b24ff83b46f68eec4e25ae659c9a03 (patch)
tree63a272f3a16ce8342f729800efdbadf87c78c30b /usr.bin/tmux/tmux.h
parentMissing opening brace. Spotted by Hiltjo Posthuma. (diff)
downloadwireguard-openbsd-527df7dd49b24ff83b46f68eec4e25ae659c9a03.tar.xz
wireguard-openbsd-527df7dd49b24ff83b46f68eec4e25ae659c9a03.zip
Make source-file look for files relative to the client working directory
(like load-buffer and save-buffer), from Chris Pickel. Also break the where-is-this-file code out into its own function for loadb and saveb.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index 59cedcd9b96..4dff98d2a95 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.726 2017/02/10 12:59:18 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.727 2017/02/14 18:13:05 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -1834,6 +1834,8 @@ 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 *);
/* server-fn.c */
void server_fill_environ(struct session *, struct environ *);