summaryrefslogtreecommitdiff
path: root/distrib/utils/libhack/utmp.c
blob: 64af99103fb899e81acc11d53017ee22ac50811b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*	$NetBSD: utmp.c,v 1.4 2002/08/03 11:37:17 itojun Exp $	*/

/*
 * Written by Gordon W. Ross <gwr@netbsd.org>
 * Public domain.
 */

/* Simplified (do nothing:) */
#include <sys/types.h>
#include <utmp.h>
#include <util.h>

void
login(ut)
	const struct utmp *ut;
{
}

void
loginx(ut)
	const struct utmpx *ut;
{
}

int
logout(line)
	const char *line;
{
	return(0);
}

int
logoutx(line, status, type)
	const char *line;
	int status, type;
{
	return(0);
}

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;
{
}