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