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