version 1.4, 2000/09/07 21:13:37 |
version 1.4.2.4, 2001/05/07 21:09:31 |
|
|
|
/* $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); |
|
|
|
/* |
|
* Returns first item from client-list that is also supported by server-list, |
|
* caller must xfree() returned string. |
|
*/ |
|
char *match_list(const char *client, const char *server, u_int *next); |
|
|
#endif |
#endif |