/* @(#) $Header: login.h,v 1.9 93/05/17 13:45:07 deyke Exp $ */

#ifndef _LOGIN_H
#define _LOGIN_H

/* In login.c: */
void fixutmpfile(void);
struct passwd *getpasswdentry(const char *name, int create);
struct login_cb *login_open(const char *user, const char *protocol,
	void (*read_upcall)(void *arg),
	void (*close_upcall)(void *arg),
	void *upcall_arg);
void login_close(struct login_cb *tp);
struct mbuf *login_read(struct login_cb *tp, int cnt);
void login_write(struct login_cb *tp, struct mbuf *bp);

#endif  /* _LOGIN_H */
