10Sstevel@tonic-gate /* 20Sstevel@tonic-gate * CDDL HEADER START 30Sstevel@tonic-gate * 40Sstevel@tonic-gate * The contents of this file are subject to the terms of the 50Sstevel@tonic-gate * Common Development and Distribution License, Version 1.0 only 60Sstevel@tonic-gate * (the "License"). You may not use this file except in compliance 70Sstevel@tonic-gate * with the License. 80Sstevel@tonic-gate * 90Sstevel@tonic-gate * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 100Sstevel@tonic-gate * or http://www.opensolaris.org/os/licensing. 110Sstevel@tonic-gate * See the License for the specific language governing permissions 120Sstevel@tonic-gate * and limitations under the License. 130Sstevel@tonic-gate * 140Sstevel@tonic-gate * When distributing Covered Code, include this CDDL HEADER in each 150Sstevel@tonic-gate * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 160Sstevel@tonic-gate * If applicable, add the following below this CDDL HEADER, with the 170Sstevel@tonic-gate * fields enclosed by brackets "[]" replaced with your own identifying 180Sstevel@tonic-gate * information: Portions Copyright [yyyy] [name of copyright owner] 190Sstevel@tonic-gate * 200Sstevel@tonic-gate * CDDL HEADER END 210Sstevel@tonic-gate */ 22*132Srobinson 23*132Srobinson /* 24*132Srobinson * Copyright 2005 Sun Microsystems, Inc. All rights reserved. 25*132Srobinson * Use is subject to license terms. 26*132Srobinson */ 27*132Srobinson 280Sstevel@tonic-gate /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ 290Sstevel@tonic-gate /* All Rights Reserved */ 300Sstevel@tonic-gate 31*132Srobinson #ifndef _DIAL_SYSFILES_H 32*132Srobinson #define _DIAL_SYSFILES_H 330Sstevel@tonic-gate 34*132Srobinson #pragma ident "%Z%%M% %I% %E% SMI" 350Sstevel@tonic-gate 36*132Srobinson #ifdef __cplusplus 37*132Srobinson extern "C" { 38*132Srobinson #endif 39*132Srobinson 40*132Srobinson #define SYSDIR (const char *)"/etc/uucp" 41*132Srobinson #define SYSFILES (const char *)"/etc/uucp/Sysfiles" 42*132Srobinson #define SYSTEMS (const char *)"/etc/uucp/Systems" 43*132Srobinson #define DEVICES (const char *)"/etc/uucp/Devices" 44*132Srobinson #define DIALERS (const char *)"/etc/uucp/Dialers" 450Sstevel@tonic-gate #define DEVCONFIG (const char *)"/etc/uucp/Devconfig" 46*132Srobinson #define CONFIG (const char *)"/etc/uucp/Config" 470Sstevel@tonic-gate 480Sstevel@tonic-gate #define SAME 0 490Sstevel@tonic-gate #define TRUE 1 500Sstevel@tonic-gate #define FALSE 0 510Sstevel@tonic-gate #define FAIL -1 520Sstevel@tonic-gate 530Sstevel@tonic-gate /* flags to check file access for REAL user id */ 540Sstevel@tonic-gate #define ACCESS_SYSTEMS 1 550Sstevel@tonic-gate #define ACCESS_DEVICES 2 560Sstevel@tonic-gate #define ACCESS_DIALERS 3 570Sstevel@tonic-gate 580Sstevel@tonic-gate /* flags to check file access for EFFECTIVE user id */ 590Sstevel@tonic-gate #define EACCESS_SYSTEMS 4 600Sstevel@tonic-gate #define EACCESS_DEVICES 5 610Sstevel@tonic-gate #define EACCESS_DIALERS 6 620Sstevel@tonic-gate 63*132Srobinson #ifdef __cplusplus 64*132Srobinson } 65*132Srobinson #endif 66*132Srobinson 67*132Srobinson #endif /* _DIAL_SYSFILES_H */ 68