X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fpathnames.h;h=ebac0f02dae82beda57ad52e0b4b6cac75442faa;hb=c2134507ca4699d192d79337a8fd2e947803dad9;hp=4aaba6e490547e750f789cc9373a51c845bdef05;hpb=b2d5027dd8d1f5dcabf4411b30884e6ab8c44240;p=ppp.git diff --git a/pppd/pathnames.h b/pppd/pathnames.h index 4aaba6e..ebac0f0 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.14 2001/03/08 05:15:37 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,17 @@ #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__ */ + +#ifdef PLUGIN +#define _PATH_PLUGIN "/usr/lib/pppd/" VERSION +#endif /* PLUGIN */