[BACK]Return to match.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/match.h between version 1.4 and 1.4.2.3

version 1.4, 2000/09/07 21:13:37 version 1.4.2.3, 2001/03/21 19:46:26
Line 1 
Line 1 
   /*      $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
Line 26 
Line 28 
  * 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

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.4.2.3