#ifndef	_TTY_H
#define	_TTY_H

#ifndef	_MBUF_H
#include "mbuf.h"
#endif

#ifndef _SESSION_H
#include "session.h"
#endif

/* In ttydriv.c: */
struct mbuf *ttydriv __ARGS((struct session *sp,char c));

struct ttystate {
	struct mbuf *line;	/* Line buffer */
	int echo;		/* Keyboard local echoing? */
	int edit;		/* Local editing? */
	int crnl;		/* Translate cr to lf? */
};
#endif /* _TTY_H */
