# # Copyright 2005 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # CDDL HEADER START # # The contents of this file are subject to the terms of the # Common Development and Distribution License, Version 1.0 only # (the "License"). You may not use this file except in compliance # with the License. # # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE # or http://www.opensolaris.org/os/licensing. # See the License for the specific language governing permissions # and limitations under the License. # # When distributing Covered Code, include this CDDL HEADER in each # file and include the License file at usr/src/OPENSOLARIS.LICENSE. # If applicable, add the following below this CDDL HEADER, with the # fields enclosed by brackets "[]" replaced with your own identifying # information: Portions Copyright [yyyy] [name of copyright owner] # # CDDL HEADER END # #ident "%Z%%M% %I% %E% SMI" # # lib/libdhcpagent/spec/dhcpagent.spec function ifname_to_hostconf include declaration char *ifname_to_hostconf(const char *ifname) version SUNWprivate_1.1 end function remove_hostconf include declaration int remove_hostconf(const char *ifname) version SUNWprivate_1.1 end function read_hostconf include declaration int read_hostconf(const char *ifname, PKT_LIST **plpp, \ uint_t plplen) version SUNWprivate_1.1 end function write_hostconf include declaration int write_hostconf(const char *ifname, PKT_LIST **pl, \ uint_t pllen, time_t relative_to) version SUNWprivate_1.1 end function dhcp_ipc_init include declaration int dhcp_ipc_init(int *listen_fd) version SUNWprivate_1.1 end function dhcp_ipc_accept include declaration int dhcp_ipc_accept(int listen_fd, int *fd, int *is_priv) version SUNWprivate_1.1 end function dhcp_ipc_recv_request include declaration int dhcp_ipc_recv_request(int fd, \ dhcp_ipc_request_t **request, int timeout_msec) version SUNWprivate_1.1 end function dhcp_ipc_send_reply include declaration int dhcp_ipc_send_reply(int fd, dhcp_ipc_reply_t *reply) version SUNWprivate_1.1 end function dhcp_ipc_close include declaration int dhcp_ipc_close(int fd) version SUNWprivate_1.1 end function dhcp_ipc_strerror include declaration const char *dhcp_ipc_strerror(int errno) version SUNWprivate_1.1 end function dhcp_ipc_alloc_request include declaration dhcp_ipc_request_t *dhcp_ipc_alloc_request( \ dhcp_ipc_type_t type, const char *ifname, \ void *buffer, uint32_t buffer_size, \ dhcp_data_type_t data_type) version SUNWprivate_1.1 end function dhcp_ipc_make_request include declaration int dhcp_ipc_make_request(dhcp_ipc_request_t * request, \ dhcp_ipc_reply_t **reply, int32_t timeout) version SUNWprivate_1.1 end function dhcp_ipc_get_data include declaration void *dhcp_ipc_get_data(dhcp_ipc_reply_t *reply, \ size_t *size, dhcp_data_type_t *type) version SUNWprivate_1.1 end function dhcp_ipc_getinfo include declaration int dhcp_ipc_getinfo(dhcp_optnum_t *optnum, \ DHCP_OPT **result, int32_t timeout) version SUNWprivate_1.1 end function dhcp_ipc_alloc_reply include declaration dhcp_ipc_reply_t *dhcp_ipc_alloc_reply( \ dhcp_ipc_request_t *request, int return_code, \ void *buffer, uint32_t buffer_size, \ dhcp_data_type_t data_type) version SUNWprivate_1.1 end function dhcp_state_to_string include declaration const char *dhcp_state_to_string(DHCPSTATE state) version SUNWprivate_1.1 end function dhcp_string_to_request include declaration dhcp_ipc_type_t dhcp_string_to_request(const char *string) version SUNWprivate_1.1 end function dhcp_start_agent include declaration int dhcp_start_agent(int) version SUNWprivate_1.1 end function dhcp_status_hdr_string include declaration const char *dhcp_status_hdr_string(void) version SUNWprivate_1.1 end function dhcp_status_reply_to_string include declaration const char *dhcp_status_reply_to_string(dhcp_ipc_reply_t *) version SUNWprivate_1.1 end