dmake: do not set MAKEFLAGS=k
[unleashed/tickless.git] / usr / src / cmd / cmd-inet / usr.bin / pppd / pathnames.h
blob5dbdb43439973c556f91aa37b680dd871696d4c2
1 /*
2 * pathnames.h - define path names used by pppd.
4 * Copyright (c) 2000 by Sun Microsystems, Inc.
5 * All rights reserved.
7 * Permission to use, copy, modify, and distribute this software and its
8 * documentation is hereby granted, provided that the above copyright
9 * notice appears in all copies.
11 * SUN MAKES NO REPRESENTATION OR WARRANTIES ABOUT THE SUITABILITY OF
12 * THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
13 * TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
14 * PARTICULAR PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR
15 * ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR
16 * DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES
18 * Copyright (c) 1993 The Australian National University.
19 * All rights reserved.
21 * Redistribution and use in source and binary forms are permitted
22 * provided that the above copyright notice and this paragraph are
23 * duplicated in all such forms and that any documentation,
24 * advertising materials, and other materials related to such
25 * distribution and use acknowledge that the software was developed
26 * by the Australian National University. The name of the University
27 * may not be used to endorse or promote products derived from this
28 * software without specific prior written permission.
29 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
30 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
31 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
33 * $Id: pathnames.h,v 1.13 2000/04/04 07:06:52 paulus Exp $
36 #pragma ident "%Z%%M% %I% %E% SMI"
38 #ifndef __PATHNAMES_H__
39 #define __PATHNAMES_H__
41 #ifdef HAVE_PATHS_H
42 #include <paths.h>
43 #else /* HAVE_PATHS_H */
45 #ifdef __cplusplus
46 extern "C" {
47 #endif
49 #ifndef _PATH_VARRUN
50 #define _PATH_VARRUN "/etc/ppp/"
51 #endif /* _PATH_VARRUN */
53 #define _PATH_DEVNULL "/dev/null"
54 #endif /* HAVE_PATHS_H */
56 #ifndef _ROOT_PATH
57 #define _ROOT_PATH
58 #endif /* _ROOT_PATH */
61 * Duplication of /etc/ppp allows default compilation on non-ANSI compilers.
63 #define _PATH_UPAPFILE _ROOT_PATH "/etc/ppp/pap-secrets"
64 #define _PATH_CHAPFILE _ROOT_PATH "/etc/ppp/chap-secrets"
65 #define _PATH_SYSOPTIONS _ROOT_PATH "/etc/ppp/options"
66 #define _PATH_IPUP _ROOT_PATH "/etc/ppp/ip-up"
67 #define _PATH_IPDOWN _ROOT_PATH "/etc/ppp/ip-down"
68 #define _PATH_IPV6UP _ROOT_PATH "/etc/ppp/ipv6-up"
69 #define _PATH_IPV6DOWN _ROOT_PATH "/etc/ppp/ipv6-down"
70 #define _PATH_IPXUP _ROOT_PATH "/etc/ppp/ipx-up"
71 #define _PATH_IPXDOWN _ROOT_PATH "/etc/ppp/ipx-down"
72 #define _PATH_AUTHUP _ROOT_PATH "/etc/ppp/auth-up"
73 #define _PATH_AUTHDOWN _ROOT_PATH "/etc/ppp/auth-down"
74 #define _PATH_TTYOPT _ROOT_PATH "/etc/ppp/options."
75 #define _PATH_CONNERRS _ROOT_PATH "/etc/ppp/connect-errors"
76 #define _PATH_PEERFILES _ROOT_PATH "/etc/ppp/peers/"
77 #define _PATH_RESOLV _ROOT_PATH "/etc/ppp/resolv.conf"
79 #define _PATH_USEROPT ".ppprc"
81 #ifdef __STDC__
82 #define _PATH_PPPDB _ROOT_PATH _PATH_VARRUN "pppd.tdb"
83 #else /* __STDC__ */
84 #ifdef HAVE_PATHS_H
85 #define _PATH_PPPDB "/var/run/pppd.tdb"
86 #else /* HAVE_PATHS_H */
87 #define _PATH_PPPDB "/etc/ppp/pppd.tdb"
88 #endif /* HAVE_PATHS_H */
89 #endif /* __STDC__ */
91 #ifdef __cplusplus
93 #endif
95 #endif /* __PATHNAMES_H__ */