parms.h revision 2
2N/A/*
2N/A * CDDL HEADER START
2N/A *
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 * with the License.
2N/A *
2N/A * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A * or http://www.opensolaris.org/os/licensing.
2N/A * See the License for the specific language governing permissions
2N/A * and limitations under the License.
2N/A *
2N/A * When distributing Covered Code, include this CDDL HEADER in each
2N/A * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
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 *
2N/A * CDDL HEADER END
2N/A */
2N/A
2N/A/*
2N/A * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
2N/A * Use is subject to license terms.
2N/A */
2N/A
2N/A/* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
2N/A/* All Rights Reserved */
2N/A
2N/A#ifndef _PARMS_H
2N/A#define _PARMS_H
2N/A
2N/A#pragma ident "%Z%%M% %I% %E% SMI"
2N/A
2N/A#ifdef __cplusplus
2N/Aextern "C" {
2N/A#endif
2N/A
2N/A/*
2N/A * Solaris is a SVR4 based system and will never be anything else
2N/A * Removed all the dead and never to be resurrected options
2N/A */
2N/A
2N/A/*
2N/A * Owner of setud files running on behalf of uucp. Needed in case
2N/A * root runs uucp and euid is not honored by kernel.
2N/A * GID is needed for some chown() calls.
2N/A * Also used if guinfo() cannot find the current users ID in the
2N/A * password file.
2N/A */
2N/A#define UUCPUID 5 /* */
2N/A#define UUCPGID 5 /* */
2N/A
2N/A/* definitions for the types of networks and dialers that are available */
2N/A/* used to depend on STANDALONE, but now done at runtime via Sysfiles */
2N/A#define TCP /* TCP (bsd systems) */
2N/A
2N/A#define TLI /* for AT&T Transport Layer Interface networks */
2N/A#define TLIS /* for AT&T Transport Layer Interface networks */
2N/A /* with streams module "tirdwr" */
2N/A
2N/A#define MAXCALLTRIES 2 /* maximum call attempts per Systems file line */
2N/A
2N/A/* define DEFAULT_BAUDRATE to be the baud rate you want to use when both */
2N/A/* Systems file and Devices file allow Any */
2N/A#define DEFAULT_BAUDRATE "9600" /* */
2N/A
2N/A/* define permission modes for the device */
2N/A#define M_DEVICEMODE (mode_t)0600 /* MASTER device mode */
2N/A#define S_DEVICEMODE (mode_t)0600 /* SLAVE device mode */
2N/A#define R_DEVICEMODE (mode_t)0600 /* default mode to restore */
2N/A
2N/A/* initial wait time after failure before retry */
2N/A#define RETRYTIME 300 /* 5 minutes */
2N/A/*
2N/A * MAXRETRYTIME is for exponential backoff limit.
2N/A * NOTE - this should not be 24 hours so that
2N/A * retry is not always at the same time each day
2N/A */
2N/A#define MAXRETRYTIME 82800 /* 23 hours */
2N/A#define ASSERT_RETRYTIME 86400 /* retry time for ASSERT errors */
2N/A
2N/A/*
2N/A * define USRSPOOLLOCKS if you like your lock files in /var/spool/locks
2N/A * be sure other programs such as 'cu' and 'ct' know about this
2N/A *
2N/A * WARNING: if you do not define USRSPOOLLOCKS, then $LOCK in
2N/A * uudemon.cleanup must be changed.
2N/A */
2N/A#define USRSPOOLLOCKS /* define to use /var/spool/locks for LCK files */
2N/A
2N/A#ifdef __cplusplus
2N/A}
2N/A#endif
2N/A
2N/A#endif /* _PARMS_H */