]> git.ipfire.org Git - thirdparty/dhcp.git/blob - includes/cf/hpux.h
Update license.
[thirdparty/dhcp.git] / includes / cf / hpux.h
1 /* hpux.h */
2 /*
3 * Copyright (c) 1996-1999 Internet Software Consortium.
4 * Use is subject to license terms which appear in the file named
5 * ISC-LICENSE that should have accompanied this file when you
6 * received it. If a file named ISC-LICENSE did not accompany this
7 * file, or you are not sure the one you have is correct, you may
8 * obtain an applicable copy of the license at:
9 *
10 * http://www.isc.org/isc-license-1.0.html.
11 *
12 * This file is part of the ISC DHCP distribution. The documentation
13 * associated with this file is listed in the file DOCUMENTATION,
14 * included in the top-level directory of this release.
15 *
16 * Support and other services are available for ISC products - see
17 * http://www.isc.org for more information.
18 */
19
20 #define int8_t char
21 #define int16_t short
22 #define int32_t long
23
24 #define u_int8_t unsigned char
25 #define u_int16_t unsigned short
26 #define u_int32_t unsigned long
27
28 #include <sys/types.h>
29
30 #include <syslog.h>
31
32 #include <string.h>
33 #include <errno.h>
34 #include <unistd.h>
35 #include <sys/wait.h>
36 #include <signal.h>
37 #include <setjmp.h>
38 #include <limits.h>
39
40 extern int h_errno;
41
42 #include <net/if.h>
43 #include <net/if_arp.h>
44
45 #ifndef _PATH_DHCPD_PID
46 #define _PATH_DHCPD_PID "/etc/dhcpd.pid"
47 #endif
48 #ifndef _PATH_DHCLIENT_PID
49 #define _PATH_DHCLIENT_PID "/etc/dhclient.pid"
50 #endif
51 #ifndef _PATH_DHCRELAY_PID
52 #define _PATH_DHCRELAY_PID "/etc/dhcrelay.pid"
53 #endif
54
55 #include <varargs.h>
56 #define VA_DOTDOTDOT va_alist
57 #define VA_start(list, last) va_start (list)
58
59 #define vsnprintf(buf, size, fmt, list) vsprintf (buf, fmt, list)
60 #define NO_SNPRINTF
61
62 #define USE_SOCKETS 1
63 #define EOL '\n'
64 #define VOIDPTR void *
65
66 #include <time.h>
67
68 #define TIME time_t
69 #define GET_TIME(x) time ((x))
70
71 #define random rand
72
73 #define BYTE_ORDER BIG_ENDIAN
74 #define BIG_ENDIAN 1