]> andersk Git - openssh.git/blame - match.h
- djm@cvs.openbsd.org 2010/01/30 02:54:53
[openssh.git] / match.h
CommitLineData
15b5fa9b 1/* $OpenBSD: match.h,v 1.14 2008/06/10 03:57:27 djm Exp $ */
23c2a7a5 2
bcbf86ec 3/*
4 * Author: Tatu Ylonen <ylo@cs.hut.fi>
5 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
6 * All rights reserved
bcbf86ec 7 *
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".
13 */
4fe2af09 14#ifndef MATCH_H
15#define MATCH_H
16
6a92533a 17int match_pattern(const char *, const char *);
18int match_pattern_list(const char *, const char *, u_int, int);
19int match_hostname(const char *, const char *, u_int);
2a1e4639 20int match_host_and_ip(const char *, const char *, const char *);
6805fc56 21int match_user(const char *, const char *, const char *, const char *);
2a1e4639 22char *match_list(const char *, const char *, u_int *);
cab80f75 23
15b5fa9b 24/* addrmatch.c */
25int addr_match_list(const char *, const char *);
26
4fe2af09 27#endif
This page took 0.330596 seconds and 5 git commands to generate.