2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 05:47:45 +00:00

Override default value for _PATH_DHCRELAY_PID

This commit is contained in:
Ted Lemon 1997-11-22 07:52:43 +00:00
parent 8afb9ae08c
commit 095a79940d
9 changed files with 27 additions and 2 deletions

View File

@ -91,6 +91,9 @@
#ifndef _PATH_DHCLIENT_CONF
#define _PATH_DHCLIENT_CONF "//e/etc/dhclient.conf"
#endif
#ifndef _PATH_DHCRELAY_PID
#define _PATH_DHCRELAY_PID "//e/etc/dhcrelay.pid"
#endif
#ifndef _PATH_RESOLV_CONF
#define _PATH_RESOLV_CONF "//e/etc/resolv.conf"

View File

@ -59,7 +59,10 @@ extern int h_errno;
#define _PATH_DHCPD_PID "/etc/dhcpd.pid"
#endif
#ifndef _PATH_DHCLIENT_PID
#define _PATH_DHCLIENT_PID "/etc/dhcpd.pid"
#define _PATH_DHCLIENT_PID "/etc/dhclient.pid"
#endif
#ifndef _PATH_DHCRELAY_PID
#define _PATH_DHCRELAY_PID "/etc/dhcrelay.pid"
#endif
#include <varargs.h>

View File

@ -70,6 +70,7 @@ extern int h_errno;
#endif
#define _PATH_DHCPD_PID "/etc/dhcpd.pid"
#define _PATH_DHCLIENT_PID "/etc/dhclient.pid"
#define _PATH_DHCLIENT_PID "/etc/dhcrelay.pid"
/* Stdarg definitions for ANSI-compliant C compilers. */
#import <stdarg.h>
#define VA_DOTDOTDOT ...

View File

@ -67,6 +67,9 @@ extern int h_errno;
#ifndef _PATH_DHCLIENT_PID
#define _PATH_DHCLIENT_PID "/etc/dhclient.pid"
#endif
#ifndef _PATH_DHCRELAY_PID
#define _PATH_DHCRELAY_PID "/etc/dhcrelay.pid"
#endif
#define EOL '\n'
#define VOIDPTR void *

View File

@ -129,6 +129,9 @@ extern int h_errno;
#ifndef _PATH_DHCLIENT_PID
#define _PATH_DHCLIENT_PID "/etc/dhclient.pid"
#endif
#ifndef _PATH_DHCRELAY_PID
#define _PATH_DHCRELAY_PID "/etc/dhcrelay.pid"
#endif
/* Porting::

View File

@ -77,7 +77,10 @@ extern int h_errno;
#define _PATH_DHCPD_PID "/etc/dhcpd.pid"
#endif
#ifndef _PATH_DHCLIENT_PID
#define _PATH_DHCLIENT_PID "/etc/dhcpd.pid"
#define _PATH_DHCLIENT_PID "/etc/dhclient.pid"
#endif
#ifndef _PATH_DHCRELAY_PID
#define _PATH_DHCRELAY_PID "/etc/dhcrelay.pid"
#endif
#define INADDR_LOOPBACK ((u_int32_t)0x7f000001)

View File

@ -99,6 +99,9 @@ extern int h_errno;
#ifndef _PATH_DHCLIENT_PID
#define _PATH_DHCLIENT_PID "/etc/dhclient.pid"
#endif
#ifndef _PATH_DHCRELAY_PID
#define _PATH_DHCRELAY_PID "/etc/dhcrelay.pid"
#endif
#ifdef __GNUC__
/* Varargs stuff: use stdarg.h instead ... */

View File

@ -87,6 +87,9 @@ extern int h_errno;
#ifndef _PATH_DHCLIENT_PID
#define _PATH_DHCLIENT_PID "/etc/dhclient.pid"
#endif
#ifndef _PATH_DHCRELAY_PID
#define _PATH_DHCRELAY_PID "/etc/dhcrelay.pid"
#endif
#if defined (__GNUC__) || defined (__SVR4)
/* Varargs stuff: use stdarg.h instead ... */

View File

@ -58,6 +58,9 @@ extern int h_errno;
#ifndef _PATH_DHCLIENT_PID
#define _PATH_DHCLIENT_PID "/etc/dhclient.pid"
#endif
#ifndef _PATH_DHCRELAY_PID
#define _PATH_DHCRELAY_PID "/etc/dhcrelay.pid"
#endif
#define int8_t char
#define int16_t short