diff options
author | djm@openbsd.org <djm@openbsd.org> | 2016-03-07 20:02:43 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2016-03-07 20:20:35 +0100 |
commit | 95767262caa6692eff1e1565be1f5cb297949a89 (patch) | |
tree | 1055360a328d0998dabb966f2e1002389f8c6c41 /session.h | |
parent | hook unittests/misc/kexfuzz into build (diff) | |
download | openssh-95767262caa6692eff1e1565be1f5cb297949a89.tar.xz openssh-95767262caa6692eff1e1565be1f5cb297949a89.zip |
upstream commit
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@
Upstream-ID: 5f2e4df88d4803fc8ec59ec53629105e23ce625e
Diffstat (limited to 'session.h')
-rw-r--r-- | session.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |