Home | History | Annotate | Download | only in include
      1 /*	$OpenBSD: match.h,v 1.12 2002/03/01 13:12:10 markus Exp $	*/
      2 
      3 #ifndef	_MATCH_H
      4 #define	_MATCH_H
      5 
      6 #pragma ident	"%Z%%M%	%I%	%E% SMI"
      7 
      8 #ifdef __cplusplus
      9 extern "C" {
     10 #endif
     11 
     12 
     13 /*
     14  * Author: Tatu Ylonen <ylo (at) cs.hut.fi>
     15  * Copyright (c) 1995 Tatu Ylonen <ylo (at) cs.hut.fi>, Espoo, Finland
     16  *                    All rights reserved
     17  *
     18  * As far as I am concerned, the code I have written for this software
     19  * can be used freely for any purpose.  Any derived versions of this
     20  * software must be clearly marked as such, and if the derived work is
     21  * incompatible with the protocol description in the RFC file, it must be
     22  * called by a name other than "ssh" or "Secure Shell".
     23  */
     24 
     25 int	 match_pattern(const char *, const char *);
     26 int	 match_pattern_list(const char *, const char *, u_int, int);
     27 int	 match_hostname(const char *, const char *, u_int);
     28 int	 match_host_and_ip(const char *, const char *, const char *);
     29 int	 match_user(const char *, const char *, const char *, const char *);
     30 char	*match_list(const char *, const char *, u_int *);
     31 
     32 #ifdef __cplusplus
     33 }
     34 #endif
     35 
     36 #endif /* _MATCH_H */
     37