OSDN Git Service

2013.10.24
[uclinux-h8/uClinux-dist.git] / user / pppd-2.3 / pppd / pathnames.h
1 /*
2  * define path names
3  *
4  * $Id: pathnames.h,v 1.13 2005-08-15 04:46:02 steveb Exp $
5  */
6
7 #ifdef HAVE_PATHS_H
8 #include <paths.h>
9
10 #else
11 #define _PATH_DEVNULL   "/dev/null"
12 #endif
13
14 #ifdef PATH_ETC_CONFIG
15 #define _ROOT_PATH
16 #ifndef _PATH_VARRUN
17 #define _PATH_VARRUN    "/var/run/"
18 #endif
19 #define _PATH_UPAPFILE  "/etc/config/pap-secrets"
20 #define _PATH_CHAPFILE  "/etc/config/chap-secrets"
21 #define _PATH_SYSOPTIONS "/etc/config/options"
22 #define _PATH_IPUP      "/etc/config/ip-up"
23 #define _PATH_DEFAULT_IPUP      "/etc/default/ip-up"
24 #define _PATH_IPDOWN    "/etc/config/ip-down"
25 #define _PATH_DEFAULT_IPDOWN    "/etc/default/ip-down"
26 #define _PATH_AUTHUP    "/bin/auth-up"
27 #define _PATH_AUTHDOWN  "/bin/auth-down"
28 #define _PATH_TTYOPT    "/etc/config/options."
29 #define _PATH_CONNERRS  "/var/log/connect-errors"
30 #define _PATH_USEROPT   ".ppprc"
31 #define _PATH_PEERFILES "/etc/config/peers/"
32 #define _PATH_RESOLV    _PATH_VARRUN "%s.resolv"
33 #else
34 #define _ROOT_PATH
35 #ifndef _PATH_VARRUN
36 #define _PATH_VARRUN    "/etc/ppp/"
37 #endif
38 #define _PATH_UPAPFILE  "/etc/ppp/pap-secrets"
39 #define _PATH_CHAPFILE  "/etc/ppp/chap-secrets"
40 #define _PATH_SYSOPTIONS "/etc/ppp/options"
41 #define _PATH_IPUP      "/etc/ppp/ip-up"
42 #define _PATH_IPDOWN    "/etc/ppp/ip-down"
43 #define _PATH_AUTHUP    "/etc/ppp/auth-up"
44 #define _PATH_AUTHDOWN  "/etc/ppp/auth-down"
45 #define _PATH_TTYOPT    "/etc/ppp/options."
46 #define _PATH_CONNERRS  "/etc/ppp/connect-errors"
47 #define _PATH_USEROPT   ".ppprc"
48 #define _PATH_PEERFILES "/etc/ppp/peers/"
49 #define _PATH_RESOLV    "/etc/ppp/resolv.conf"
50 #endif
51
52 #ifdef IPX_CHANGE
53 #define _PATH_IPXUP     "/etc/ppp/ipx-up"
54 #define _PATH_IPXDOWN   "/etc/ppp/ipx-down"
55 #endif /* IPX_CHANGE */