summaryrefslogtreecommitdiff
path: root/distrib/utils/libhack/utmp.c
blob: 05b1ccaf8e2dc44788d677310ac6181325c06564 (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.5 2003/07/26 17:07:37 salo 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;
{
}