version 1.1.2.2, 2000/11/08 21:30:57 |
version 1.1.2.3, 2001/03/12 15:44:12 |
|
|
|
/* $OpenBSD$ */ |
|
|
/* |
/* |
* Author: Tatu Ylonen <ylo@cs.hut.fi> |
* Author: Tatu Ylonen <ylo@cs.hut.fi> |
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
|
|
* indicate negation). Returns -1 if negation matches, 1 if there is |
* indicate negation). Returns -1 if negation matches, 1 if there is |
* a positive match, 0 if there is no match at all. |
* a positive match, 0 if there is no match at all. |
*/ |
*/ |
int match_hostname(const char *host, const char *pattern, unsigned int len); |
int match_hostname(const char *host, const char *pattern, u_int len); |
|
|
#endif |
#endif |