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

Diff for /src/usr.bin/ssh/ssh.h between version 1.5 and 1.6

version 1.5, 1999/10/01 02:38:10 version 1.6, 1999/10/03 21:50:04
Line 244 
Line 244 
    second.  This returns true on success, and zero on failure.  If the     second.  This returns true on success, and zero on failure.  If the
    connection is successful, this calls packet_set_connection for the     connection is successful, this calls packet_set_connection for the
    connection. */     connection. */
 int ssh_connect(const char *host, int port, int connection_attempts,  int ssh_connect(const char *host, struct sockaddr_in *hostaddr,
                   int port, int connection_attempts,
                 int anonymous, uid_t original_real_uid,                  int anonymous, uid_t original_real_uid,
                 const char *proxy_command);                  const char *proxy_command);
   
Line 254 
Line 255 
    If login fails, this function prints an error and never returns.     If login fails, this function prints an error and never returns.
    This initializes the random state, and leaves it initialized (it will also     This initializes the random state, and leaves it initialized (it will also
    have references from the packet module). */     have references from the packet module). */
 void ssh_login(int host_key_valid, RSA *host_key,  void ssh_login(int host_key_valid, RSA *host_key, const char *host,
                const char *host, Options *options, uid_t original_real_uid);                 struct sockaddr_in *hostaddr, Options *options,
                  uid_t original_real_uid);
   
 /*------------ Definitions for various authentication methods. -------*/  /*------------ Definitions for various authentication methods. -------*/
   
Line 315 
Line 317 
    Returns HOST_OK if the host is known and has the specified key,     Returns HOST_OK if the host is known and has the specified key,
    HOST_NEW if the host is not known, and HOST_CHANGED if the host is known     HOST_NEW if the host is not known, and HOST_CHANGED if the host is known
    but used to have a different host key.  The host must be in all lowercase. */     but used to have a different host key.  The host must be in all lowercase. */
 typedef enum { HOST_OK, HOST_NEW, HOST_CHANGED } HostStatus;  typedef enum { HOST_OK, HOST_NEW, HOST_CHANGED, HOST_DIFFER } HostStatus;
 HostStatus check_host_in_hostfile(const char *filename,  HostStatus check_host_in_hostfile(const char *filename,
                                   const char *host, unsigned int bits,                                    const char *host, unsigned int bits,
                                   BIGNUM *e, BIGNUM *n);                                    BIGNUM *e, BIGNUM *n,
                                     BIGNUM *ke, BIGNUM *kn);
   
 /* Appends an entry to the host file.  Returns false if the entry  /* Appends an entry to the host file.  Returns false if the entry
    could not be appended. */     could not be appended. */

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6