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

Diff for /src/usr.bin/ssh/sshconnect.h between version 1.15 and 1.16

version 1.15, 2002/06/09 13:32:01 version 1.16, 2002/06/11 04:14:26
Line 35 
Line 35 
   
 int  int
 ssh_connect(const char *, struct sockaddr_storage *, u_short, int, int,  ssh_connect(const char *, struct sockaddr_storage *, u_short, int, int,
     int, struct passwd *, const char *);      int, const char *);
   
 void  void
 ssh_login(Sensitive *, const char *, struct sockaddr *, struct passwd *);  ssh_login(Sensitive *, const char *, struct sockaddr *, struct passwd *);
Line 49 
Line 49 
 void     ssh_userauth2(const char *, const char *, char *, Sensitive *);  void     ssh_userauth2(const char *, const char *, char *, Sensitive *);
   
 void     ssh_put_password(char *);  void     ssh_put_password(char *);
   
   
   /*
    * Macros to raise/lower permissions.
    */
   #define PRIV_START do {                         \
           int save_errno = errno;                 \
           (void)seteuid(original_effective_uid);  \
           errno = save_errno;                     \
   } while (0)
   
   #define PRIV_END do {                           \
           int save_errno = errno;                 \
           (void)seteuid(original_real_uid);       \
           errno = save_errno;                     \
   } while (0)
   
 #endif  #endif

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16