xref: /titanic_52/usr/src/lib/libipmp/common/ipmp_admin.h (revision e11c3f44f531fdff80941ce57c065d2ae861cefc)
1*e11c3f44Smeem /*
2*e11c3f44Smeem  * CDDL HEADER START
3*e11c3f44Smeem  *
4*e11c3f44Smeem  * The contents of this file are subject to the terms of the
5*e11c3f44Smeem  * Common Development and Distribution License (the "License").
6*e11c3f44Smeem  * You may not use this file except in compliance with the License.
7*e11c3f44Smeem  *
8*e11c3f44Smeem  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*e11c3f44Smeem  * or http://www.opensolaris.org/os/licensing.
10*e11c3f44Smeem  * See the License for the specific language governing permissions
11*e11c3f44Smeem  * and limitations under the License.
12*e11c3f44Smeem  *
13*e11c3f44Smeem  * When distributing Covered Code, include this CDDL HEADER in each
14*e11c3f44Smeem  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*e11c3f44Smeem  * If applicable, add the following below this CDDL HEADER, with the
16*e11c3f44Smeem  * fields enclosed by brackets "[]" replaced with your own identifying
17*e11c3f44Smeem  * information: Portions Copyright [yyyy] [name of copyright owner]
18*e11c3f44Smeem  *
19*e11c3f44Smeem  * CDDL HEADER END
20*e11c3f44Smeem  *
21*e11c3f44Smeem  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
22*e11c3f44Smeem  * Use is subject to license terms.
23*e11c3f44Smeem  */
24*e11c3f44Smeem 
25*e11c3f44Smeem #ifndef _IPMP_ADMIN_H
26*e11c3f44Smeem #define	_IPMP_ADMIN_H
27*e11c3f44Smeem 
28*e11c3f44Smeem #include <ipmp.h>
29*e11c3f44Smeem #include <sys/types.h>
30*e11c3f44Smeem 
31*e11c3f44Smeem /*
32*e11c3f44Smeem  * IPMP administrative interfaces.
33*e11c3f44Smeem  *
34*e11c3f44Smeem  * These interfaces may only be used within ON or after signing a contract
35*e11c3f44Smeem  * with ON.  For documentation, refer to PSARC/2007/272.
36*e11c3f44Smeem  */
37*e11c3f44Smeem 
38*e11c3f44Smeem #ifdef __cplusplus
39*e11c3f44Smeem extern "C" {
40*e11c3f44Smeem #endif
41*e11c3f44Smeem 
42*e11c3f44Smeem extern int ipmp_offline(ipmp_handle_t, const char *, uint_t);
43*e11c3f44Smeem extern int ipmp_undo_offline(ipmp_handle_t, const char *);
44*e11c3f44Smeem extern int ipmp_ping_daemon(ipmp_handle_t);
45*e11c3f44Smeem 
46*e11c3f44Smeem #ifdef __cplusplus
47*e11c3f44Smeem }
48*e11c3f44Smeem #endif
49*e11c3f44Smeem 
50*e11c3f44Smeem #endif /* _IPMP_ADMIN_H */
51