Use paths.h if it is available.
[ppp.git] / pppd / pathnames.h
index 93ee432d31a0f1163ec8af3df474afcfdb740607..7baf95a43df8bc2ed2fffc40833577c6d179a286 100644 (file)
@@ -1,13 +1,15 @@
 /*
  * define path names
  *
- * $Id: pathnames.h,v 1.3 1994/04/20 00:11:32 paulus Exp $
+ * $Id: pathnames.h,v 1.5 1994/09/01 00:32:56 paulus Exp $
  */
 
-#if defined(STREAMS) || defined(ultrix)
-#define _PATH_PIDFILE  "/etc/ppp"
+#ifdef HAVE_PATHS_H
+#include <paths.h>
+
 #else
-#define _PATH_PIDFILE  "/var/run"
+#define _PATH_VARRUN   "/etc/ppp/"
+#define _PATH_DEVNULL  "/dev/null"
 #endif
 
 #define _PATH_UPAPFILE         "/etc/ppp/pap-secrets"
@@ -15,3 +17,5 @@
 #define _PATH_SYSOPTIONS "/etc/ppp/options"
 #define _PATH_IPUP     "/etc/ppp/ip-up"
 #define _PATH_IPDOWN   "/etc/ppp/ip-down"
+#define _PATH_TTYOPT   "/etc/ppp/options."
+#define _PATH_USEROPT  ".ppprc"