summaryrefslogtreecommitdiffstats
path: root/match.h
diff options
context:
space:
mode:
Diffstat (limited to 'match.h')
-rw-r--r--match.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/match.h b/match.h
index 285ad55f..09c93116 100644
--- a/match.h
+++ b/match.h
@@ -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