ipmp.spec revision 7c478bd95313f5f23a4c958a745db2134aa03244
#
# 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
# 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"
#
function ipmp_open
declaration int ipmp_open(ipmp_handle_t *handlep);
end
function ipmp_close
declaration void ipmp_close(ipmp_handle_t handle);
end
function ipmp_errmsg
declaration const char *ipmp_errmsg(int error);
end
function ipmp_setqcontext
declaration int ipmp_setqcontext(ipmp_handle_t handle, \
end
function ipmp_getgrouplist
declaration int ipmp_getgrouplist(ipmp_handle_t handle, \
end
function ipmp_freegrouplist
declaration void ipmp_freegrouplist(ipmp_grouplist_t *grlistp);
end
function ipmp_getgroupinfo
declaration int ipmp_getgroupinfo(ipmp_handle_t handle, \
const char *grname, ipmp_groupinfo_t **grinfopp);
end
function ipmp_freegroupinfo
declaration void ipmp_freegroupinfo(ipmp_groupinfo_t *grinfop);
end
function ipmp_getifinfo
declaration int ipmp_getifinfo(ipmp_handle_t handle, const char *ifname, \
end
function ipmp_freeifinfo
declaration void ipmp_freeifinfo(ipmp_ifinfo_t *ifinfop);
end
function ipmp_ifinfo_create
const char *group, ipmp_if_state_t state, \
ipmp_if_type_t type)
end
function ipmp_groupinfo_create
uint64_t sig, ipmp_group_state_t state, unsigned int nif, \
end
function ipmp_grouplist_create
end
function ipmp_snap_free
declaration void ipmp_snap_free(ipmp_snap_t *)
end
function ipmp_snap_create
end
function ipmp_snap_addgroupinfo
declaration int ipmp_snap_addgroupinfo(ipmp_snap_t *snap, \
end
function ipmp_snap_addifinfo
declaration int ipmp_snap_addifinfo(ipmp_snap_t *snap, \
end
function ipmp_read
end
function ipmp_write
declaration int ipmp_write(int fd, const void *buffer, size_t buflen)
end
function ipmp_writetlv
declaration int ipmp_writetlv(int fd, ipmp_infotype_t type, size_t len, \
void *value)
end