1204917Sdes/* $OpenBSD: match.h,v 1.15 2010/02/26 20:29:54 djm Exp $ */ 276259Sgreen 365668Skris/* 465668Skris * Author: Tatu Ylonen <ylo@cs.hut.fi> 565668Skris * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 665668Skris * All rights reserved 765668Skris * 865668Skris * As far as I am concerned, the code I have written for this software 965668Skris * can be used freely for any purpose. Any derived versions of this 1065668Skris * software must be clearly marked as such, and if the derived work is 1165668Skris * incompatible with the protocol description in the RFC file, it must be 1265668Skris * called by a name other than "ssh" or "Secure Shell". 1365668Skris */ 1458582Skris#ifndef MATCH_H 1558582Skris#define MATCH_H 1658582Skris 1792555Sdesint match_pattern(const char *, const char *); 1892555Sdesint match_pattern_list(const char *, const char *, u_int, int); 1992555Sdesint match_hostname(const char *, const char *, u_int); 2092555Sdesint match_host_and_ip(const char *, const char *, const char *); 2192555Sdesint match_user(const char *, const char *, const char *, const char *); 2292555Sdeschar *match_list(const char *, const char *, u_int *); 2358582Skris 24181111Sdes/* addrmatch.c */ 25181111Sdesint addr_match_list(const char *, const char *); 26204917Sdesint addr_match_cidr_list(const char *, const char *); 2758582Skris#endif 28