File:  [MW Coherent from dump] / coherent / a / usr / include.b4ps2 / dial.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:34 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

/*
 * $Log: dial.h,v $
 * Revision 1.1.1.1  2019/05/29 04:56:34  root
 * coherent
 *
 * Revision 1.2  92/09/29  09:06:23  bin
 * updated with kernel 63 source
 * 
 * Revision 1.1	89/04/26  16:24:50 	root
 * Initial revision
 * 
 */

#ifndef	DIAL_H
#define	DIAL_H	DIAL_H

#include <termio.h>

#define	LDEVS	"/usr/lib/uucp/L-devices"
#define	DEVDIR	"/dev/"				/* device path */
#define	LOCK	"/usr/spool/uucp/LCK.."		/* lock file semaphore */
#define	DVC_LEN	30			/* max num of chars in TTY-device path name */

/*
 *	Error mnemonics
 */

#define	INTRPT	(-1)	/* Interrupt occured */
#define	D_HUNG	(-2)	/* dialer hung (no return from write) */
#define	NO_ANS	(-3)	/* no answer within 10 seconds */
#define	ILL_BD	(-4)	/* illegal baud rate */
#define	A_PROB	(-5)	/* acu problem (open() failure) */
#define	L_PROB	(-6)	/* line problem (open() failure) */
#define	NO_Ldv	(-7)	/* cannot open LDEVS file */
#define	DV_NT_A	(-8)	/* requested device not available */
#define	DV_NT_K	(-9)	/* requested device not known */
#define	NO_BD_A	(-10)	/* no device available at requested baud */
#define	NO_BD_K	(-11)	/* no device known at requested baud */

typedef	struct {
	struct	termio	*attr;	/* ptr to termio attribute struct */
	int	baud;		/* transmission baud rate */
	int	speed;		/* 212A modem: low=300, high=1200 */
	char	*line;		/* device name for outgoing line */
	char	*telno;		/* ptr to telephone num digits string */
	int	modem;		/* allow modem control on direct lines */
} CALL;

extern	int	dial();
extern	void	undial();

#endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.