]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/pppd-private.h
config: Include some extra files in the tarball
[ppp.git] / pppd / pppd-private.h
index 2883e4622acbc740c31da793a6c35e15c64890f6..d8ec443e6f85f58c80c99c6a945073f4dbc6eef8 100644 (file)
@@ -38,8 +38,6 @@
  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
  * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
  * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- *
- * $Id: pppd.h,v 1.96 2008/06/23 11:47:18 paulus Exp $
  */
 
 #ifndef PPP_PPPD_PRIVATE_H
  * Where should PPP_DRV_NAME come from? Do we include it here?
  */
 #if !defined(PPP_DRV_NAME)
+#if defined(SOL2)
+#define PPP_DRV_NAME   "sppp"
+#else
 #define PPP_DRV_NAME   "ppp"
+#endif /* defined(SOL2) */
 #endif /* !defined(PPP_DRV_NAME) */
 
 
@@ -177,6 +179,8 @@ extern bool uselogin;       /* Use /etc/passwd for checking PAP */
 extern bool    session_mgmt;   /* Do session management (login records) */
 extern char    our_name[MAXNAMELEN];/* Our name for authentication purposes */
 extern char    remote_name[MAXNAMELEN]; /* Peer's name for authentication */
+extern char    path_upapfile[];/* Pathname of pap-secrets file */
+extern char    path_chapfile[];/* Pathname of chap-secrets file */
 extern bool    explicit_remote;/* remote_name specified with remotename opt */
 extern bool    demand;         /* Do dial-on-demand */
 extern char    *ipparam;       /* Extra parameter for ip up/down scripts */
@@ -192,8 +196,12 @@ extern bool        tune_kernel;    /* May alter kernel settings as necessary */
 extern int     connect_delay;  /* Time to delay after connect script */
 extern int     max_data_rate;  /* max bytes/sec through charshunt */
 extern int     req_unit;       /* interface unit number to use */
+extern char    path_net_init[]; /* pathname of net-init script */
+extern char    path_net_preup[];/* pathname of net-pre-up script */
+extern char    path_net_down[]; /* pathname of net-down script */
 extern char    path_ipup[];    /* pathname of ip-up script */
 extern char    path_ipdown[];  /* pathname of ip-down script */
+extern char    path_ippreup[]; /* pathname of ip-pre-up script */
 extern char    req_ifname[]; /* interface name to use (IFNAMSIZ) */
 extern bool    multilink;      /* enable multilink operation (options.c) */
 extern bool    noendpoint;     /* don't send or accept endpt. discrim. */
@@ -437,6 +445,7 @@ int  sifproxyarp(int, u_int32_t);
 int  cifproxyarp(int, u_int32_t);
                                /* Delete proxy ARP entry for peer */
 u_int32_t GetMask(u_int32_t); /* Get appropriate netmask for address */
+int  mkdir_recursive(const char *); /* Recursively create directory */
 int  lock(char *);     /* Create lock file for device */
 int  relock(int);              /* Rewrite lock file with new pid */
 void unlock(void);     /* Delete previously-created lock file */