diff options
author | stevesk <stevesk> | 2001-02-05 12:42:17 +0000 |
---|---|---|
committer | stevesk <stevesk> | 2001-02-05 12:42:17 +0000 |
commit | f4de84d0805289218d877ba316cf77a5f3ba0304 (patch) | |
tree | 15a85491db7ea4e43d44b71c784147426e50fb33 /loginrec.h | |
parent | d1a62b3bb14df35325720b5e3e0c817c53afe699 (diff) | |
download | openssh-f4de84d0805289218d877ba316cf77a5f3ba0304.tar.gz |
- stevesk@cvs.openbsd.org 2001/02/04 08:32:27
[many files; did this manually to our top-level source dir]
unexpand and remove end-of-line whitespace; ok markus@
Diffstat (limited to 'loginrec.h')
-rw-r--r-- | loginrec.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -30,7 +30,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -/** +/** ** loginrec.h: platform-independent login recording and lastlog retrieval **/ @@ -40,7 +40,7 @@ #include <netinet/in.h> #include <sys/socket.h> -/* RCSID("$Id: loginrec.h,v 1.4 2000/06/27 01:18:27 djm Exp $"); */ +/* RCSID("$Id: loginrec.h,v 1.5 2001/02/05 12:42:18 stevesk Exp $"); */ /** ** you should use the login_* calls to work around platform dependencies @@ -86,7 +86,7 @@ struct logininfo { * use time_t's value as tv_sec and set tv_usec to 0 */ unsigned int tv_sec; - unsigned int tv_usec; + unsigned int tv_usec; union login_netinfo hostaddr; /* caller's host address(es) */ }; /* struct logininfo */ @@ -102,7 +102,7 @@ struct logininfo *login_alloc_entry(int pid, const char *username, /* free a structure */ void login_free_entry(struct logininfo *li); /* fill out a pre-allocated structure with useful information */ -int login_init_entry(struct logininfo *li, int pid, const char *username, +int login_init_entry(struct logininfo *li, int pid, const char *username, const char *hostname, const char *line); /* place the current time in a logininfo struct */ void login_set_current_time(struct logininfo *li); |