diff options
Diffstat (limited to 'match.h')
-rw-r--r-- | match.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: match.h,v 1.6 2001/01/29 01:58:17 niklas Exp $ */ +/* $OpenBSD: match.h,v 1.7 2001/03/10 17:51:04 markus Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -30,4 +30,10 @@ int match_pattern(const char *s, const char *pattern); */ int match_hostname(const char *host, const char *pattern, u_int len); +/* + * Returns first item from client-list that is also supported by server-list, + * caller must xfree() returned string. + */ +char *match_list(const char *client, const char *server, u_int *next); + #endif |