1 /* $OpenBSD: match.h,v 1.8 2001/06/24 05:25:10 markus Exp $ */
4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
5 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
8 * As far as I am concerned, the code I have written for this software
9 * can be used freely for any purpose. Any derived versions of this
10 * software must be clearly marked as such, and if the derived work is
11 * incompatible with the protocol description in the RFC file, it must be
12 * called by a name other than "ssh" or "Secure Shell".
17 int match_pattern(const char *s, const char *pattern);
18 int match_hostname(const char *host, const char *pattern, u_int len);
19 int match_host_and_ip(const char *host, const char *ip, const char *p);
20 int match_user(const char *u, const char *h, const char *i, const char *p);
21 char *match_list(const char *client, const char *server, u_int *next);