summaryrefslogtreecommitdiffstats
path: root/loginrec.h
diff options
context:
space:
mode:
authorKevin Steves <stevesk@pobox.com>2001-02-05 13:42:17 +0100
committerKevin Steves <stevesk@pobox.com>2001-02-05 13:42:17 +0100
commitef4eea9badfb65f05ac24f786b710cc3f27f0e43 (patch)
treef54abef181ccd6ad5285a5c16b4c159d8b74e932 /loginrec.h
parent - (bal) AIX patch for auth1.c by William L. Jones <jones@hpc.utexas.edu> (diff)
downloadopenssh-ef4eea9badfb65f05ac24f786b710cc3f27f0e43.tar.xz
openssh-ef4eea9badfb65f05ac24f786b710cc3f27f0e43.zip
- 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.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/loginrec.h b/loginrec.h
index b3dbb43df..ecb430d50 100644
--- a/loginrec.h
+++ b/loginrec.h
@@ -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);