summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/session.h
diff options
context:
space:
mode:
authordjm <djm@openbsd.org>2016-03-07 19:02:43 +0000
committerdjm <djm@openbsd.org>2016-03-07 19:02:43 +0000
commit1667b834089972f87df60db7feef35bbf760a6fd (patch)
treea4e6c871eda706efb994781026d7ebc3964eabab /usr.bin/ssh/session.h
parentMake cp -i behave as mv -i or rm -i, independently of whether stdin (diff)
downloadwireguard-openbsd-1667b834089972f87df60db7feef35bbf760a6fd.tar.xz
wireguard-openbsd-1667b834089972f87df60db7feef35bbf760a6fd.zip
refactor canohost.c: move functions that cache results closer to the
places that use them (authn and session code). After this, no state is cached in canohost.c feedback and ok markus@
Diffstat (limited to 'usr.bin/ssh/session.h')
-rw-r--r--usr.bin/ssh/session.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ssh/session.h b/usr.bin/ssh/session.h
index 6a2f35e41ff..f18eaf329d7 100644
--- a/usr.bin/ssh/session.h
+++ b/usr.bin/ssh/session.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.h,v 1.31 2013/10/14 21:20:52 djm Exp $ */
+/* $OpenBSD: session.h,v 1.32 2016/03/07 19:02:43 djm Exp $ */
/*
* Copyright (c) 2000, 2001 Markus Friedl. All rights reserved.
@@ -81,4 +81,6 @@ void do_setusercontext(struct passwd *);
void child_set_env(char ***envp, u_int *envsizep, const char *name,
const char *value);
+const char *session_get_remote_name_or_ip(struct ssh *, u_int, int);
+
#endif