2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License, Version 1.0 only 2N/A * (the "License"). You may not use this file except in compliance 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ 2N/A/* All Rights Reserved */ 2N/A * Copyright 2005 Sun Microsystems, Inc. All rights reserved. 2N/A * Use is subject to license terms. 2N/A#
pragma ident "%Z%%M% %I% %E% SMI" 2N/A/* what mode should user files be allowed to have upon creation? */ 2N/A/* NOTE: This does not allow setuid or execute bits on transfer. */ 2N/A/* what mode should public files have upon creation? */ 2N/A/* what mode should log files have upon creation? */ 2N/A/* what mode should C. files have upon creation? */ 2N/A/* what mode should D. files have upon creation? */ 2N/A/* define the value of PUBMASK, used for creating "public" directories */ 2N/A/* what mode should public directories have upon creation? */ 2N/A/* define the value of DIRMASK, used for creating "system" subdirectories */ 2N/A/* define the last characters for ACU (used for 801/212 dialers) */ 2N/A * caution - the fillowing names are also in Makefile 2N/A * any changes here have to also be made there 2N/A * it's a good idea to make directories .foo, since this ensures 2N/A * that they'll be ignored by processes that search subdirectories in SPOOL 2N/A/* where to put the STST. files? */ 2N/A/* where should logfiles be kept? */ 2N/A/* use caution since things are linked into there */ 2N/A/* how much of a system name can we print in a [CX]. file? */ 2N/A/* MAXBASENAME - 1 (pre) - 1 ('.') - 1 (grade) - 4 (sequence number) */ 2N/A#
endif /* USRSPOOLLOCKS */ 2N/A /* must be dir part of above */ 2N/A /* must be dir part of above */ 2N/A#
endif /* USRSPOOLLOCKS */ 2N/A#
define X_LOCKPRE (
const char *)
"LCK.X" /* must be last part of above */ 2N/A * CDEBUG is for communication line debugging 2N/A * DEBUG is for program debugging 2N/A * #define SMALL to compile without the DEBUG code 2N/A * VERBOSE is used by cu and ct to inform the user of progress 2N/A * In other programs, the Value of Verbose is always 0. 2N/A#
define MAXBASENAME 14 /* should be DIRSIZ but that is now fs dependent */ 2N/A/* check file access for REAL user id */ 2N/A/* check file access for EFFECTIVE user id */ 2N/A/* manifest for chkpth flag */ 2N/A/* system status stuff */ 2N/A#
define MAXPH 60 /* maximum phone string size */ 2N/A char *
speed;
/* transmission baud rate */ 2N/A char *
line;
/* device name for outgoing line */ 2N/A char *
telno;
/* ptr to tel-no digit string */ 2N/A char *
type;
/* type of device to use for call. */ 2N/A/* structure of an Systems file line */ 2N/A#
define F_MAX 50 /* max number of fields in Systems file line */ 2N/A#
define F_CLASS 3 /* an optional prefix and the speed */ 2N/A/* structure of an Devices file line */ 2N/A#
define D_MAX 50 /* max number of fields in Devices file line */ 2N/A/* past here, local changes are not recommended */ 2N/A * stuff for command execution 2N/A/* This structure describes call routines */ 2N/A/* structure for a saved C file */ 2N/A/* This structure describes dialing routines */ 2N/A/* This structure describes the values from Limits file */ 2N/A/* external declarations */ 2N/Astatic char Dc[];
/* line name */ 2N/Astatic char *
Bnptr;
/* used when BASENAME macro is expanded */ 2N/A/* things get kind of tricky beyond this point -- please stay out */ 2N/A/* uucp functions and subroutine */