add utmpx/wtmpx processing routines

This commit is contained in:
christos 2002-07-27 23:49:00 +00:00
parent 51de4d82f7
commit d857e8ec8a
1 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: util.h,v 1.22 2002/05/22 07:31:40 itojun Exp $ */
/* $NetBSD: util.h,v 1.23 2002/07/27 23:49:00 christos Exp $ */
/*-
* Copyright (c) 1995
@ -43,6 +43,7 @@
#include <pwd.h>
#include <termios.h>
#include <utmp.h>
#include <utmpx.h>
#define PIDLOCK_NONBLOCK 1
#define PIDLOCK_USEHOSTNAME 2
@ -66,9 +67,12 @@ const char *getbootfile(void);
int getmaxpartitions(void);
int getrawpartition(void);
void login(const struct utmp *);
void loginx(const struct utmpx *);
int login_tty(int);
int logout(const char *);
int logoutx(const char *, int, int);
void logwtmp(const char *, const char *, const char *);
void logwtmpx(const char *, const char *, const char *, int, int);
int opendisk(const char *, int, char *, size_t, int);
int openpty(int *, int *, char *, struct termios *,
struct winsize *);