=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/ssh/match.h,v retrieving revision 1.4 retrieving revision 1.4.2.3 diff -u -r1.4 -r1.4.2.3 --- src/usr.bin/ssh/match.h 2000/09/07 21:13:37 1.4 +++ src/usr.bin/ssh/match.h 2001/03/21 19:46:26 1.4.2.3 @@ -1,3 +1,5 @@ +/* $OpenBSD: match.h,v 1.4.2.3 2001/03/21 19:46:26 jason Exp $ */ + /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -26,6 +28,12 @@ * indicate negation). Returns -1 if negation matches, 1 if there is * a positive match, 0 if there is no match at all. */ -int match_hostname(const char *host, const char *pattern, unsigned int len); +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