2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License (the "License"). 2N/A * You may not use this file except in compliance with the License. 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A * Copyright (c) 2001, Oracle and/or its affiliates. All rights reserved. 2N/A * Contains published interfaces to the DHCP data service. 2N/A * Errors which can be returned from the defined API 2N/A /* public module unavailable */ 2N/A * Flags that can be passed to open_* 2N/A * Query macros - used for initializing query flags to lookup_* 2N/A#
define DSVC_QEQ(q, v) ((q) = ((q) | (v) | ((v) <<
16)))
2N/A * DHCP Configuration Container (dhcptab(4)) 2N/A/* Query flags for lookup_dt */ 2N/A * Consumer's dhcptab record form. Dynamically allocated by underlying data 2N/A * store. dt_sig is set by underlying data store -- it's opaque to the 2N/A * DHCP service, and is used by the data store to detect update collisions. 2N/A * All fields must be fixed-width types and in host byte order. Note that 2N/A * SUNWbinfiles writes these records directly to disk, thus changing its 2N/A * definition may introduce binary compatibility problems. Note also that 2N/A * fields have been carefully ordered to avoid internal padding and the 2N/A * structure's size is 64-bit aligned to avoid capricious trailing padding. 2N/A * DHCP Network Container (dhcp_network(4)) 2N/A/* Query flags for lookup_dn */ 2N/A/* dn_flags values */ 2N/A * Consumer's DHCP network container record form. Dynamically allocated by 2N/A * underlying data store. dn_sig is set by underlying data store -- it's 2N/A * opaque to the DHCP service, and is used by the data store to detect 2N/A * update collisions. All fields must be fixed-width types and in host 2N/A * byte order. Note that SUNWbinfiles writes these records directly to 2N/A * disk, thus changing its definition may introduce binary compatibility 2N/A * problems. Note also that fields have been carefully ordered to avoid 2N/A * internal padding and the structure's size is 64-bit aligned to avoid 2N/A * capricious trailing padding. 2N/A * Synchronization Service Type and values. 2N/A * Generic API provided by SMI 2N/A * The remaining functions are not directly callable by the libdhcpsvc 2N/A * implementation; don't expose them to it. 2N/A * Generic Service Provider Layer API provided by data store implementor 2N/A * dhcptab Service Provider Layer API 2N/A * DHCP Network Service Provider Layer API 2N/A * IP address arguments are host order. 2N/A#
endif /* !_DHCP_SVC_PUBLIC_H */