=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/match.h,v retrieving revision 1.4.2.2 retrieving revision 1.4.2.3 diff -u -r1.4.2.2 -r1.4.2.3 --- src/usr.bin/ssh/match.h 2001/02/19 17:19:06 1.4.2.2 +++ src/usr.bin/ssh/match.h 2001/03/21 19:46:26 1.4.2.3 @@ -1,4 +1,4 @@ -/* $OpenBSD: match.h,v 1.4.2.2 2001/02/19 17:19:06 jason Exp $ */ +/* $OpenBSD: match.h,v 1.4.2.3 2001/03/21 19:46:26 jason Exp $ */ /* * Author: Tatu Ylonen @@ -29,5 +29,11 @@ * a positive match, 0 if there is no match at all. */ 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