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

Diff for /src/usr.bin/ssh/sshlogin.c between version 1.3 and 1.4

version 1.3, 2001/12/19 07:18:56 version 1.4, 2002/06/23 03:30:17
Line 51 
Line 51 
  * information is not available.  This must be called before record_login.   * information is not available.  This must be called before record_login.
  * The host the user logged in from will be returned in buf.   * The host the user logged in from will be returned in buf.
  */   */
   
 u_long  u_long
 get_last_login_time(uid_t uid, const char *logname,  get_last_login_time(uid_t uid, const char *logname,
                     char *buf, u_int bufsize)      char *buf, u_int bufsize)
 {  {
         struct lastlog ll;          struct lastlog ll;
         char *lastlog;          char *lastlog;
Line 83 
Line 82 
  * Records that the user has logged in.  I these parts of operating systems   * Records that the user has logged in.  I these parts of operating systems
  * were more standardized.   * were more standardized.
  */   */
   
 void  void
 record_login(pid_t pid, const char *ttyname, const char *user, uid_t uid,  record_login(pid_t pid, const char *ttyname, const char *user, uid_t uid,
         const char *host, struct sockaddr * addr)      const char *host, struct sockaddr * addr)
 {  {
         int fd;          int fd;
         struct lastlog ll;          struct lastlog ll;
Line 126 
Line 124 
 }  }
   
 /* Records that the user has logged out. */  /* Records that the user has logged out. */
   
 void  void
 record_logout(pid_t pid, const char *ttyname)  record_logout(pid_t pid, const char *ttyname)
 {  {

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