1*f6e214c7SGavin Maltby /* 2*f6e214c7SGavin Maltby * CDDL HEADER START 3*f6e214c7SGavin Maltby * 4*f6e214c7SGavin Maltby * The contents of this file are subject to the terms of the 5*f6e214c7SGavin Maltby * Common Development and Distribution License (the "License"). 6*f6e214c7SGavin Maltby * You may not use this file except in compliance with the License. 7*f6e214c7SGavin Maltby * 8*f6e214c7SGavin Maltby * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*f6e214c7SGavin Maltby * or http://www.opensolaris.org/os/licensing. 10*f6e214c7SGavin Maltby * See the License for the specific language governing permissions 11*f6e214c7SGavin Maltby * and limitations under the License. 12*f6e214c7SGavin Maltby * 13*f6e214c7SGavin Maltby * When distributing Covered Code, include this CDDL HEADER in each 14*f6e214c7SGavin Maltby * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*f6e214c7SGavin Maltby * If applicable, add the following below this CDDL HEADER, with the 16*f6e214c7SGavin Maltby * fields enclosed by brackets "[]" replaced with your own identifying 17*f6e214c7SGavin Maltby * information: Portions Copyright [yyyy] [name of copyright owner] 18*f6e214c7SGavin Maltby * 19*f6e214c7SGavin Maltby * CDDL HEADER END 20*f6e214c7SGavin Maltby */ 21*f6e214c7SGavin Maltby 22*f6e214c7SGavin Maltby /* 23*f6e214c7SGavin Maltby * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 24*f6e214c7SGavin Maltby */ 25*f6e214c7SGavin Maltby 26*f6e214c7SGavin Maltby #ifndef _SW_H 27*f6e214c7SGavin Maltby #define _SW_H 28*f6e214c7SGavin Maltby 29*f6e214c7SGavin Maltby #ifdef __cplusplus 30*f6e214c7SGavin Maltby extern "C" { 31*f6e214c7SGavin Maltby #endif 32*f6e214c7SGavin Maltby 33*f6e214c7SGavin Maltby #define SW_VERSION 1 34*f6e214c7SGavin Maltby 35*f6e214c7SGavin Maltby extern int sw_init(topo_mod_t *, topo_version_t); /* see sw.c */ 36*f6e214c7SGavin Maltby extern void sw_fini(topo_mod_t *); /* see sw.c */ 37*f6e214c7SGavin Maltby 38*f6e214c7SGavin Maltby #ifdef __cplusplus 39*f6e214c7SGavin Maltby } 40*f6e214c7SGavin Maltby #endif 41*f6e214c7SGavin Maltby 42*f6e214c7SGavin Maltby #endif /* _SW_H */ 43