fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi * This file and its contents are supplied under the terms of the
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi * Common Development and Distribution License ("CDDL"), version 1.0.
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi * You may only use this file in accordance with the terms of version
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi * 1.0 of the CDDL.
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi * A full copy of the text of the CDDL should have accompanied this
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi * source. A copy of the CDDL is also available via the Internet at
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi * Copyright (c) 2012 Joyent, Inc. All rights reserved.
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi * Use is subject to license terms.
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi * Bitmask values for ic_mask.
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchitypedef void (*ipd_status_cb_f)(zoneid_t, const ipd_config_t *, void *);
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchiextern const char *ipd_strerror(ipd_errno_t);
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchiextern int ipd_open(const char *);
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchiextern int ipd_close(int);
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchiextern int ipd_status_read(int, ipd_stathdl_t *);
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchiextern void ipd_status_foreach_zone(const ipd_stathdl_t,
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchiextern int ipd_status_get_config(const ipd_stathdl_t,
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchiextern int ipd_ctl(int, zoneid_t, const ipd_config_t *);
fe77cc0407fb667ddc04e1a8f2e203bb7b9c80e1Robert Mustacchi#endif /* _LIBIPD_H */