NetBSD/distrib/utils/libhack/utmp.c

52 lines
626 B
C
Raw Normal View History

/* $NetBSD: utmp.c,v 1.4 2002/08/03 11:37:17 itojun Exp $ */
1999-05-19 07:54:40 +04:00
/*
* Written by Gordon W. Ross <gwr@netbsd.org>
* Public domain.
*/
/* Simplified (do nothing:) */
#include <sys/types.h>
#include <utmp.h>
1999-05-27 09:41:15 +04:00
#include <util.h>
1999-05-19 07:54:40 +04:00
void
login(ut)
1999-06-21 06:32:20 +04:00
const struct utmp *ut;
1999-05-19 07:54:40 +04:00
{
}
void
loginx(ut)
const struct utmpx *ut;
{
}
1999-05-19 07:54:40 +04:00
int
logout(line)
const char *line;
{
1999-05-27 09:41:15 +04:00
return(0);
1999-05-19 07:54:40 +04:00
}
int
logoutx(line, status, type)
const char *line;
int status, type;
{
return(0);
}
1999-05-19 07:54:40 +04:00
void
logwtmp(line, name, host)
const char *line, *name, *host;
{
}
void
logwtmpx(line, name, host, status, type)
const char *line, *name, *host;
int status, type;
{
}