From: Ted Lemon Date: Tue, 18 Feb 1997 14:34:14 +0000 (+0000) Subject: Add definitions for DHCP Client data files X-Git-Tag: DHCP_970222~58 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d432c972a6d7cd6ef5857edafce9ff39ec805acb;p=thirdparty%2Fdhcp.git Add definitions for DHCP Client data files --- diff --git a/cf/alphaosf.h b/cf/alphaosf.h index 6f154b424..0f56f73cc 100644 --- a/cf/alphaosf.h +++ b/cf/alphaosf.h @@ -70,6 +70,9 @@ extern int h_errno; #ifndef _PATH_DHCPD_PID #define _PATH_DHCPD_PID "/var/run/dhcpd.pid" #endif +#ifndef _PATH_DHCLIENT_PID +#define _PATH_DHCLIENT_PID "/var/run/dhclient.pid" +#endif #define EOL '\n' #define VOIDPTR void * diff --git a/cf/bsdos.h b/cf/bsdos.h index 8af03e9b8..7039c5b30 100644 --- a/cf/bsdos.h +++ b/cf/bsdos.h @@ -65,6 +65,12 @@ extern int h_errno; #ifndef _PATH_DHCPD_DB #define _PATH_DHCPD_DB "/var/db/dhcpd.leases" #endif +#ifndef _PATH_DHCLIENT_PID +#define _PATH_DHCLIENT_PID "/var/run/dhclient.pid" +#endif +#ifndef _PATH_DHCLIENT_DB +#define _PATH_DHCLIENT_DB "/var/db/dhclient.leases" +#endif #define EOL '\n' #define VOIDPTR void * diff --git a/cf/freebsd.h b/cf/freebsd.h index 618f74a40..835210639 100644 --- a/cf/freebsd.h +++ b/cf/freebsd.h @@ -67,6 +67,12 @@ extern int h_errno; #ifndef _PATH_DHCPD_DB #define _PATH_DHCPD_DB "/var/db/dhcpd.leases" #endif +#ifndef _PATH_DHCLIENT_PID +#define _PATH_DHCLIENT_PID "/var/run/dhclient.pid" +#endif +#ifndef _PATH_DHCLIENT_DB +#define _PATH_DHCLIENT_DB "/var/db/dhclient.leases" +#endif #define EOL '\n' #define VOIDPTR void * diff --git a/cf/hpux.h b/cf/hpux.h index c5d2cdf83..9c42152f6 100644 --- a/cf/hpux.h +++ b/cf/hpux.h @@ -58,6 +58,9 @@ extern int h_errno; #ifndef _PATH_DHCPD_PID #define _PATH_DHCPD_PID "/etc/dhcpd.pid" #endif +#ifndef _PATH_DHCLIENT_PID +#define _PATH_DHCLIENT_PID "/etc/dhcpd.pid" +#endif #include #define VA_DOTDOTDOT va_alist diff --git a/cf/linux.h b/cf/linux.h index d08a986d0..45c8ec50b 100644 --- a/cf/linux.h +++ b/cf/linux.h @@ -70,6 +70,12 @@ extern int h_errno; #ifndef _PATH_DHCPD_PID #define _PATH_DHCPD_PID "/var/run/dhcpd.pid" #endif +#ifndef _PATH_DHCLIENT_PID +#define _PATH_DHCLIENT_PID "/var/run/dhclient.pid" +#endif +#ifndef _PATH_DHCLIENT_DB +#define _PATH_DHCLIENT_DB "/var/db/dhclient.leases" +#endif /* Varargs stuff... */ #include diff --git a/cf/netbsd.h b/cf/netbsd.h index 6e9ecc7b9..3d8e770c5 100644 --- a/cf/netbsd.h +++ b/cf/netbsd.h @@ -69,6 +69,12 @@ extern int h_errno; #ifndef _PATH_DHCPD_DB #define _PATH_DHCPD_DB "/var/db/dhcpd.leases" #endif +#ifndef _PATH_DHCLIENT_PID +#define _PATH_DHCLIENT_PID "/var/run/dhclient.pid" +#endif +#ifndef _PATH_DHCLIENT_DB +#define _PATH_DHCLIENT_DB "/var/db/dhclient.leases" +#endif #define EOL '\n' #define VOIDPTR void * diff --git a/cf/qnx.h b/cf/qnx.h index a61275865..55956a961 100644 --- a/cf/qnx.h +++ b/cf/qnx.h @@ -64,6 +64,9 @@ extern int h_errno; #ifndef _PATH_DHCPD_PID #define _PATH_DHCPD_PID "/etc/dhcpd.pid" #endif +#ifndef _PATH_DHCLIENT_PID +#define _PATH_DHCLIENT_PID "/etc/dhclient.pid" +#endif #define EOL '\n' #define VOIDPTR void * diff --git a/cf/sample.h b/cf/sample.h index 8fe45f4b7..e6f668e34 100644 --- a/cf/sample.h +++ b/cf/sample.h @@ -126,6 +126,9 @@ extern int h_errno; #ifndef _PATH_DHCPD_PID #define _PATH_DHCPD_PID "/etc/dhcpd.pid" #endif +#ifndef _PATH_DHCLIENT_PID +#define _PATH_DHCLIENT_PID "/etc/dhclient.pid" +#endif /* Porting:: diff --git a/cf/sco.h b/cf/sco.h index d839f9743..2d6ae1d0f 100644 --- a/cf/sco.h +++ b/cf/sco.h @@ -76,6 +76,9 @@ extern int h_errno; #ifndef _PATH_DHCPD_PID #define _PATH_DHCPD_PID "/etc/dhcpd.pid" #endif +#ifndef _PATH_DHCLIENT_PID +#define _PATH_DHCLIENT_PID "/etc/dhcpd.pid" +#endif #define INADDR_LOOPBACK ((u_int32_t)0x7f000001) diff --git a/cf/sunos4.h b/cf/sunos4.h index dc7743eaa..b3de9dd1c 100644 --- a/cf/sunos4.h +++ b/cf/sunos4.h @@ -94,6 +94,9 @@ extern int h_errno; #ifndef _PATH_DHCPD_PID #define _PATH_DHCPD_PID "/etc/dhcpd.pid" #endif +#ifndef _PATH_DHCLIENT_PID +#define _PATH_DHCLIENT_PID "/etc/dhclient.pid" +#endif #ifdef __GNUC__ /* Varargs stuff: use stdarg.h instead ... */ diff --git a/cf/sunos5-5.h b/cf/sunos5-5.h index e7cdea621..a6cc4dac9 100644 --- a/cf/sunos5-5.h +++ b/cf/sunos5-5.h @@ -84,6 +84,9 @@ extern int h_errno; #ifndef _PATH_DHCPD_PID #define _PATH_DHCPD_PID "/etc/dhcpd.pid" #endif +#ifndef _PATH_DHCLIENT_PID +#define _PATH_DHCLIENT_PID "/etc/dhclient.pid" +#endif #if defined (__GNUC__) || defined (__SVR4) /* Varargs stuff: use stdarg.h instead ... */ diff --git a/cf/ultrix.h b/cf/ultrix.h index 2c881b96b..36f53af42 100644 --- a/cf/ultrix.h +++ b/cf/ultrix.h @@ -55,6 +55,9 @@ extern int h_errno; #ifndef _PATH_DHCPD_PID #define _PATH_DHCPD_PID "/etc/dhcpd.pid" #endif +#ifndef _PATH_DHCLIENT_PID +#define _PATH_DHCLIENT_PID "/etc/dhclient.pid" +#endif #define int8_t char #define int16_t short diff --git a/includes/cf/alphaosf.h b/includes/cf/alphaosf.h index 6f154b424..0f56f73cc 100644 --- a/includes/cf/alphaosf.h +++ b/includes/cf/alphaosf.h @@ -70,6 +70,9 @@ extern int h_errno; #ifndef _PATH_DHCPD_PID #define _PATH_DHCPD_PID "/var/run/dhcpd.pid" #endif +#ifndef _PATH_DHCLIENT_PID +#define _PATH_DHCLIENT_PID "/var/run/dhclient.pid" +#endif #define EOL '\n' #define VOIDPTR void * diff --git a/includes/cf/bsdos.h b/includes/cf/bsdos.h index 8af03e9b8..7039c5b30 100644 --- a/includes/cf/bsdos.h +++ b/includes/cf/bsdos.h @@ -65,6 +65,12 @@ extern int h_errno; #ifndef _PATH_DHCPD_DB #define _PATH_DHCPD_DB "/var/db/dhcpd.leases" #endif +#ifndef _PATH_DHCLIENT_PID +#define _PATH_DHCLIENT_PID "/var/run/dhclient.pid" +#endif +#ifndef _PATH_DHCLIENT_DB +#define _PATH_DHCLIENT_DB "/var/db/dhclient.leases" +#endif #define EOL '\n' #define VOIDPTR void * diff --git a/includes/cf/freebsd.h b/includes/cf/freebsd.h index 618f74a40..835210639 100644 --- a/includes/cf/freebsd.h +++ b/includes/cf/freebsd.h @@ -67,6 +67,12 @@ extern int h_errno; #ifndef _PATH_DHCPD_DB #define _PATH_DHCPD_DB "/var/db/dhcpd.leases" #endif +#ifndef _PATH_DHCLIENT_PID +#define _PATH_DHCLIENT_PID "/var/run/dhclient.pid" +#endif +#ifndef _PATH_DHCLIENT_DB +#define _PATH_DHCLIENT_DB "/var/db/dhclient.leases" +#endif #define EOL '\n' #define VOIDPTR void * diff --git a/includes/cf/hpux.h b/includes/cf/hpux.h index c5d2cdf83..9c42152f6 100644 --- a/includes/cf/hpux.h +++ b/includes/cf/hpux.h @@ -58,6 +58,9 @@ extern int h_errno; #ifndef _PATH_DHCPD_PID #define _PATH_DHCPD_PID "/etc/dhcpd.pid" #endif +#ifndef _PATH_DHCLIENT_PID +#define _PATH_DHCLIENT_PID "/etc/dhcpd.pid" +#endif #include #define VA_DOTDOTDOT va_alist diff --git a/includes/cf/linux.h b/includes/cf/linux.h index d08a986d0..45c8ec50b 100644 --- a/includes/cf/linux.h +++ b/includes/cf/linux.h @@ -70,6 +70,12 @@ extern int h_errno; #ifndef _PATH_DHCPD_PID #define _PATH_DHCPD_PID "/var/run/dhcpd.pid" #endif +#ifndef _PATH_DHCLIENT_PID +#define _PATH_DHCLIENT_PID "/var/run/dhclient.pid" +#endif +#ifndef _PATH_DHCLIENT_DB +#define _PATH_DHCLIENT_DB "/var/db/dhclient.leases" +#endif /* Varargs stuff... */ #include diff --git a/includes/cf/netbsd.h b/includes/cf/netbsd.h index 6e9ecc7b9..3d8e770c5 100644 --- a/includes/cf/netbsd.h +++ b/includes/cf/netbsd.h @@ -69,6 +69,12 @@ extern int h_errno; #ifndef _PATH_DHCPD_DB #define _PATH_DHCPD_DB "/var/db/dhcpd.leases" #endif +#ifndef _PATH_DHCLIENT_PID +#define _PATH_DHCLIENT_PID "/var/run/dhclient.pid" +#endif +#ifndef _PATH_DHCLIENT_DB +#define _PATH_DHCLIENT_DB "/var/db/dhclient.leases" +#endif #define EOL '\n' #define VOIDPTR void * diff --git a/includes/cf/qnx.h b/includes/cf/qnx.h index a61275865..55956a961 100644 --- a/includes/cf/qnx.h +++ b/includes/cf/qnx.h @@ -64,6 +64,9 @@ extern int h_errno; #ifndef _PATH_DHCPD_PID #define _PATH_DHCPD_PID "/etc/dhcpd.pid" #endif +#ifndef _PATH_DHCLIENT_PID +#define _PATH_DHCLIENT_PID "/etc/dhclient.pid" +#endif #define EOL '\n' #define VOIDPTR void * diff --git a/includes/cf/sample.h b/includes/cf/sample.h index 8fe45f4b7..e6f668e34 100644 --- a/includes/cf/sample.h +++ b/includes/cf/sample.h @@ -126,6 +126,9 @@ extern int h_errno; #ifndef _PATH_DHCPD_PID #define _PATH_DHCPD_PID "/etc/dhcpd.pid" #endif +#ifndef _PATH_DHCLIENT_PID +#define _PATH_DHCLIENT_PID "/etc/dhclient.pid" +#endif /* Porting:: diff --git a/includes/cf/sco.h b/includes/cf/sco.h index d839f9743..2d6ae1d0f 100644 --- a/includes/cf/sco.h +++ b/includes/cf/sco.h @@ -76,6 +76,9 @@ extern int h_errno; #ifndef _PATH_DHCPD_PID #define _PATH_DHCPD_PID "/etc/dhcpd.pid" #endif +#ifndef _PATH_DHCLIENT_PID +#define _PATH_DHCLIENT_PID "/etc/dhcpd.pid" +#endif #define INADDR_LOOPBACK ((u_int32_t)0x7f000001) diff --git a/includes/cf/sunos4.h b/includes/cf/sunos4.h index dc7743eaa..b3de9dd1c 100644 --- a/includes/cf/sunos4.h +++ b/includes/cf/sunos4.h @@ -94,6 +94,9 @@ extern int h_errno; #ifndef _PATH_DHCPD_PID #define _PATH_DHCPD_PID "/etc/dhcpd.pid" #endif +#ifndef _PATH_DHCLIENT_PID +#define _PATH_DHCLIENT_PID "/etc/dhclient.pid" +#endif #ifdef __GNUC__ /* Varargs stuff: use stdarg.h instead ... */ diff --git a/includes/cf/sunos5-5.h b/includes/cf/sunos5-5.h index e7cdea621..a6cc4dac9 100644 --- a/includes/cf/sunos5-5.h +++ b/includes/cf/sunos5-5.h @@ -84,6 +84,9 @@ extern int h_errno; #ifndef _PATH_DHCPD_PID #define _PATH_DHCPD_PID "/etc/dhcpd.pid" #endif +#ifndef _PATH_DHCLIENT_PID +#define _PATH_DHCLIENT_PID "/etc/dhclient.pid" +#endif #if defined (__GNUC__) || defined (__SVR4) /* Varargs stuff: use stdarg.h instead ... */ diff --git a/includes/cf/ultrix.h b/includes/cf/ultrix.h index 2c881b96b..36f53af42 100644 --- a/includes/cf/ultrix.h +++ b/includes/cf/ultrix.h @@ -55,6 +55,9 @@ extern int h_errno; #ifndef _PATH_DHCPD_PID #define _PATH_DHCPD_PID "/etc/dhcpd.pid" #endif +#ifndef _PATH_DHCLIENT_PID +#define _PATH_DHCLIENT_PID "/etc/dhclient.pid" +#endif #define int8_t char #define int16_t short