]> git.ozlabs.org Git - ppp.git/blob - pppd/pathnames.h
Added log messages for LCP Identification, Time-Remaining, and other
[ppp.git] / pppd / pathnames.h
1 /*
2  * define path names
3  *
4  * $Id: pathnames.h,v 1.16 2004/11/13 12:02:22 paulus Exp $
5  */
6
7 #ifdef HAVE_PATHS_H
8 #include <paths.h>
9
10 #else /* HAVE_PATHS_H */
11 #ifndef _PATH_VARRUN
12 #define _PATH_VARRUN    "/etc/ppp/"
13 #endif
14 #define _PATH_DEVNULL   "/dev/null"
15 #endif /* HAVE_PATHS_H */
16
17 #ifndef _ROOT_PATH
18 #define _ROOT_PATH
19 #endif
20
21 #define _PATH_UPAPFILE   _ROOT_PATH "/etc/ppp/pap-secrets"
22 #define _PATH_CHAPFILE   _ROOT_PATH "/etc/ppp/chap-secrets"
23 #define _PATH_SRPFILE    _ROOT_PATH "/etc/ppp/srp-secrets"
24 #define _PATH_SYSOPTIONS _ROOT_PATH "/etc/ppp/options"
25 #define _PATH_IPUP       _ROOT_PATH "/etc/ppp/ip-up"
26 #define _PATH_IPDOWN     _ROOT_PATH "/etc/ppp/ip-down"
27 #define _PATH_AUTHUP     _ROOT_PATH "/etc/ppp/auth-up"
28 #define _PATH_AUTHDOWN   _ROOT_PATH "/etc/ppp/auth-down"
29 #define _PATH_TTYOPT     _ROOT_PATH "/etc/ppp/options."
30 #define _PATH_CONNERRS   _ROOT_PATH "/etc/ppp/connect-errors"
31 #define _PATH_PEERFILES  _ROOT_PATH "/etc/ppp/peers/"
32 #define _PATH_RESOLV     _ROOT_PATH "/etc/ppp/resolv.conf"
33
34 #define _PATH_USEROPT    ".ppprc"
35 #define _PATH_PSEUDONYM  ".ppp_pseudonym"
36
37 #ifdef INET6
38 #define _PATH_IPV6UP     _ROOT_PATH "/etc/ppp/ipv6-up"
39 #define _PATH_IPV6DOWN   _ROOT_PATH "/etc/ppp/ipv6-down"
40 #endif
41
42 #ifdef IPX_CHANGE
43 #define _PATH_IPXUP      _ROOT_PATH "/etc/ppp/ipx-up"
44 #define _PATH_IPXDOWN    _ROOT_PATH "/etc/ppp/ipx-down"
45 #endif /* IPX_CHANGE */
46
47 #ifdef __STDC__
48 #define _PATH_PPPDB     _ROOT_PATH _PATH_VARRUN "pppd2.tdb"
49 #else /* __STDC__ */
50 #ifdef HAVE_PATHS_H
51 #define _PATH_PPPDB     "/var/run/pppd2.tdb"
52 #else
53 #define _PATH_PPPDB     "/etc/ppp/pppd2.tdb"
54 #endif
55 #endif /* __STDC__ */
56
57 #ifdef PLUGIN
58 #define _PATH_PLUGIN    "/usr/lib/pppd/" VERSION
59 #endif /* PLUGIN */