]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Add definitions for DHCP Client data files
authorTed Lemon <source@isc.org>
Tue, 18 Feb 1997 14:34:14 +0000 (14:34 +0000)
committerTed Lemon <source@isc.org>
Tue, 18 Feb 1997 14:34:14 +0000 (14:34 +0000)
24 files changed:
cf/alphaosf.h
cf/bsdos.h
cf/freebsd.h
cf/hpux.h
cf/linux.h
cf/netbsd.h
cf/qnx.h
cf/sample.h
cf/sco.h
cf/sunos4.h
cf/sunos5-5.h
cf/ultrix.h
includes/cf/alphaosf.h
includes/cf/bsdos.h
includes/cf/freebsd.h
includes/cf/hpux.h
includes/cf/linux.h
includes/cf/netbsd.h
includes/cf/qnx.h
includes/cf/sample.h
includes/cf/sco.h
includes/cf/sunos4.h
includes/cf/sunos5-5.h
includes/cf/ultrix.h

index 6f154b4241b85b3ac89af9004a89def80db3d63a..0f56f73ccd2717bb5bd1f4cdbb0b2581b2bbefc7 100644 (file)
@@ -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 *
index 8af03e9b81adea7637327dbf8ae6036cb14e87f5..7039c5b3035bd4be2d266f07e59214e3e2b0f4ea 100644 (file)
@@ -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 *
index 618f74a4031563663b19d53609814cff004449d7..8352106396c54ed015cf3025af73336602844100 100644 (file)
@@ -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 *
index c5d2cdf831ac4e0d5ad1a3ff291889da546d5318..9c42152f62304837789c2b7fa65a06c3193d49f6 100644 (file)
--- 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 <varargs.h>
 #define VA_DOTDOTDOT va_alist
index d08a986d00b8b91863a60580691faad870a45f80..45c8ec50b8e22ae9ac66868d77e767de0f901599 100644 (file)
@@ -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 <stdarg.h>
index 6e9ecc7b9efd38b906dd08c5e090dd4a684dc041..3d8e770c5fffdd4233b2f41b4828cc632890d85c 100644 (file)
@@ -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 *
index a612758652fb89123a46a6cbcf3e7971e7735dcf..55956a9619f5be7eb7aceafb9a6278aa559e25da 100644 (file)
--- 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 *
index 8fe45f4b70e390ff462164516a5ecc569fee5347..e6f668e349da57aea407734b0d965d3b50c375b6 100644 (file)
@@ -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::
 
index d839f974303654d59e7ef3f9778683361f8e9d1f..2d6ae1d0fd86c4b09ed7bad20794eb2dc9f2f0b5 100644 (file)
--- 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)
 
index dc7743eaae0c0cf4987db3a293fdcfd822ffc7ec..b3de9dd1c537f7c7ffe6c0bd847239ab900e1165 100644 (file)
@@ -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 ... */
index e7cdea621ab9b1f0bdb3e70d4e04eace95702fdd..a6cc4dac9cb1ae04eab69c09c3be33676473337c 100644 (file)
@@ -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 ... */
index 2c881b96bf6ad241026394afe3c323d1c7d80b46..36f53af4255a93e270102a395f48e1dfc5aae328 100644 (file)
@@ -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 
index 6f154b4241b85b3ac89af9004a89def80db3d63a..0f56f73ccd2717bb5bd1f4cdbb0b2581b2bbefc7 100644 (file)
@@ -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 *
index 8af03e9b81adea7637327dbf8ae6036cb14e87f5..7039c5b3035bd4be2d266f07e59214e3e2b0f4ea 100644 (file)
@@ -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 *
index 618f74a4031563663b19d53609814cff004449d7..8352106396c54ed015cf3025af73336602844100 100644 (file)
@@ -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 *
index c5d2cdf831ac4e0d5ad1a3ff291889da546d5318..9c42152f62304837789c2b7fa65a06c3193d49f6 100644 (file)
@@ -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 <varargs.h>
 #define VA_DOTDOTDOT va_alist
index d08a986d00b8b91863a60580691faad870a45f80..45c8ec50b8e22ae9ac66868d77e767de0f901599 100644 (file)
@@ -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 <stdarg.h>
index 6e9ecc7b9efd38b906dd08c5e090dd4a684dc041..3d8e770c5fffdd4233b2f41b4828cc632890d85c 100644 (file)
@@ -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 *
index a612758652fb89123a46a6cbcf3e7971e7735dcf..55956a9619f5be7eb7aceafb9a6278aa559e25da 100644 (file)
@@ -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 *
index 8fe45f4b70e390ff462164516a5ecc569fee5347..e6f668e349da57aea407734b0d965d3b50c375b6 100644 (file)
@@ -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::
 
index d839f974303654d59e7ef3f9778683361f8e9d1f..2d6ae1d0fd86c4b09ed7bad20794eb2dc9f2f0b5 100644 (file)
@@ -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)
 
index dc7743eaae0c0cf4987db3a293fdcfd822ffc7ec..b3de9dd1c537f7c7ffe6c0bd847239ab900e1165 100644 (file)
@@ -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 ... */
index e7cdea621ab9b1f0bdb3e70d4e04eace95702fdd..a6cc4dac9cb1ae04eab69c09c3be33676473337c 100644 (file)
@@ -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 ... */
index 2c881b96bf6ad241026394afe3c323d1c7d80b46..36f53af4255a93e270102a395f48e1dfc5aae328 100644 (file)
@@ -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