X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fpathnames.h;h=416e9ed787f8ae72070275bdc0971a018f773c1c;hp=4aaba6e490547e750f789cc9373a51c845bdef05;hb=0b3acd3a1122d542e2994d7791cc9127e91778f1;hpb=84bede49f1cb5b6ad558e6ac02b447b376ee6abb diff --git a/pppd/pathnames.h b/pppd/pathnames.h index 4aaba6e..416e9ed 100644 --- a/pppd/pathnames.h +++ b/pppd/pathnames.h @@ -1,18 +1,18 @@ /* * define path names * - * $Id: pathnames.h,v 1.12 1999/11/19 09:46:08 masputra Exp $ + * $Id: pathnames.h,v 1.13 2000/04/04 07:06:52 paulus Exp $ */ #ifdef HAVE_PATHS_H #include -#else +#else /* HAVE_PATHS_H */ #ifndef _PATH_VARRUN #define _PATH_VARRUN "/etc/ppp/" #endif #define _PATH_DEVNULL "/dev/null" -#endif +#endif /* HAVE_PATHS_H */ #ifndef _ROOT_PATH #define _ROOT_PATH @@ -41,3 +41,13 @@ #define _PATH_IPXUP _ROOT_PATH "/etc/ppp/ipx-up" #define _PATH_IPXDOWN _ROOT_PATH "/etc/ppp/ipx-down" #endif /* IPX_CHANGE */ + +#ifdef __STDC__ +#define _PATH_PPPDB _ROOT_PATH _PATH_VARRUN "pppd.tdb" +#else /* __STDC__ */ +#ifdef HAVE_PATHS_H +#define _PATH_PPPDB "/var/run/pppd.tdb" +#else +#define _PATH_PPPDB "/etc/ppp/pppd.tdb" +#endif +#endif /* __STDC__ */