xref: /illumos-gate/usr/src/lib/fm/topo/libtopo/common/svc.h (revision 95efa359)
1*95efa359SEric Schrock /*
2*95efa359SEric Schrock  * CDDL HEADER START
3*95efa359SEric Schrock  *
4*95efa359SEric Schrock  * The contents of this file are subject to the terms of the
5*95efa359SEric Schrock  * Common Development and Distribution License (the "License").
6*95efa359SEric Schrock  * You may not use this file except in compliance with the License.
7*95efa359SEric Schrock  *
8*95efa359SEric Schrock  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*95efa359SEric Schrock  * or http://www.opensolaris.org/os/licensing.
10*95efa359SEric Schrock  * See the License for the specific language governing permissions
11*95efa359SEric Schrock  * and limitations under the License.
12*95efa359SEric Schrock  *
13*95efa359SEric Schrock  * When distributing Covered Code, include this CDDL HEADER in each
14*95efa359SEric Schrock  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*95efa359SEric Schrock  * If applicable, add the following below this CDDL HEADER, with the
16*95efa359SEric Schrock  * fields enclosed by brackets "[]" replaced with your own identifying
17*95efa359SEric Schrock  * information: Portions Copyright [yyyy] [name of copyright owner]
18*95efa359SEric Schrock  *
19*95efa359SEric Schrock  * CDDL HEADER END
20*95efa359SEric Schrock  */
21*95efa359SEric Schrock 
22*95efa359SEric Schrock /*
23*95efa359SEric Schrock  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
24*95efa359SEric Schrock  * Use is subject to license terms.
25*95efa359SEric Schrock  */
26*95efa359SEric Schrock 
27*95efa359SEric Schrock #ifndef	_SVC_H
28*95efa359SEric Schrock #define	_SVC_H
29*95efa359SEric Schrock 
30*95efa359SEric Schrock #ifdef	__cplusplus
31*95efa359SEric Schrock extern "C" {
32*95efa359SEric Schrock #endif
33*95efa359SEric Schrock 
34*95efa359SEric Schrock #define	SVC_VERSION	1
35*95efa359SEric Schrock 
36*95efa359SEric Schrock extern int svc_init(topo_mod_t *, topo_version_t);	/* see svc.c */
37*95efa359SEric Schrock extern void svc_fini(topo_mod_t *);			/* see svc.c */
38*95efa359SEric Schrock 
39*95efa359SEric Schrock #ifdef	__cplusplus
40*95efa359SEric Schrock }
41*95efa359SEric Schrock #endif
42*95efa359SEric Schrock 
43*95efa359SEric Schrock #endif	/* _SVC_H */
44