xref: /freebsd/crypto/openssh/match.h (revision ae1f160d56b2d59d406f1af34cbdcc88a9e1b914)
1ae1f160dSDag-Erling Smørgrav /*	$OpenBSD: match.h,v 1.12 2002/03/01 13:12:10 markus Exp $	*/
21e8db6e2SBrian Feldman 
3b66f2d16SKris Kennaway /*
4b66f2d16SKris Kennaway  * Author: Tatu Ylonen <ylo@cs.hut.fi>
5b66f2d16SKris Kennaway  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
6b66f2d16SKris Kennaway  *                    All rights reserved
7b66f2d16SKris Kennaway  *
8b66f2d16SKris Kennaway  * As far as I am concerned, the code I have written for this software
9b66f2d16SKris Kennaway  * can be used freely for any purpose.  Any derived versions of this
10b66f2d16SKris Kennaway  * software must be clearly marked as such, and if the derived work is
11b66f2d16SKris Kennaway  * incompatible with the protocol description in the RFC file, it must be
12b66f2d16SKris Kennaway  * called by a name other than "ssh" or "Secure Shell".
13b66f2d16SKris Kennaway  */
14a8f6863aSKris Kennaway #ifndef MATCH_H
15a8f6863aSKris Kennaway #define MATCH_H
16a8f6863aSKris Kennaway 
17ae1f160dSDag-Erling Smørgrav int	 match_pattern(const char *, const char *);
18ae1f160dSDag-Erling Smørgrav int	 match_pattern_list(const char *, const char *, u_int, int);
19ae1f160dSDag-Erling Smørgrav int	 match_hostname(const char *, const char *, u_int);
20ae1f160dSDag-Erling Smørgrav int	 match_host_and_ip(const char *, const char *, const char *);
21ae1f160dSDag-Erling Smørgrav int	 match_user(const char *, const char *, const char *, const char *);
22ae1f160dSDag-Erling Smørgrav char	*match_list(const char *, const char *, u_int *);
23a8f6863aSKris Kennaway 
24a8f6863aSKris Kennaway #endif
25