4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 * or http://www.opensolaris.org/os/licensing.
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
23 * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
30 #pragma ident "%Z%%M% %I% %E% SMI"
32 #include <sys/types.h>
35 * Common opaque structure definitions and values used throughout the dhcpagent
44 * Things (unfortunately) required because we're in an XPG environment.
46 #define B_TRUE _B_TRUE
47 #define B_FALSE _B_FALSE
50 typedef struct dhcp_smach_s dhcp_smach_t
;
52 typedef struct dhcp_lease_s dhcp_lease_t
;
54 typedef struct dhcp_lif_s dhcp_lif_t
;
56 typedef struct dhcp_pif_s dhcp_pif_t
;
57 typedef int script_callback_t(dhcp_smach_t
*, void *);
59 typedef struct dhcp_timer_s dhcp_timer_t
;
61 typedef struct dhcp_ipc_s dhcp_ipc_t
;
63 typedef int64_t monosec_t
; /* see README for details */
69 #endif /* _COMMON_H */