xref: /titanic_41/usr/src/lib/fm/libfmevent/common/fmev_channels.h (revision 6a634c9dca3093f3922e4b7ab826d7bdf17bf78e)
149b225e1SGavin Maltby /*
249b225e1SGavin Maltby  * CDDL HEADER START
349b225e1SGavin Maltby  *
449b225e1SGavin Maltby  * The contents of this file are subject to the terms of the
549b225e1SGavin Maltby  * Common Development and Distribution License (the "License").
649b225e1SGavin Maltby  * You may not use this file except in compliance with the License.
749b225e1SGavin Maltby  *
849b225e1SGavin Maltby  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
949b225e1SGavin Maltby  * or http://www.opensolaris.org/os/licensing.
1049b225e1SGavin Maltby  * See the License for the specific language governing permissions
1149b225e1SGavin Maltby  * and limitations under the License.
1249b225e1SGavin Maltby  *
1349b225e1SGavin Maltby  * When distributing Covered Code, include this CDDL HEADER in each
1449b225e1SGavin Maltby  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1549b225e1SGavin Maltby  * If applicable, add the following below this CDDL HEADER, with the
1649b225e1SGavin Maltby  * fields enclosed by brackets "[]" replaced with your own identifying
1749b225e1SGavin Maltby  * information: Portions Copyright [yyyy] [name of copyright owner]
1849b225e1SGavin Maltby  *
1949b225e1SGavin Maltby  * CDDL HEADER END
2049b225e1SGavin Maltby  */
2149b225e1SGavin Maltby 
2249b225e1SGavin Maltby /*
23*f6e214c7SGavin Maltby  * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
2449b225e1SGavin Maltby  */
2549b225e1SGavin Maltby 
2649b225e1SGavin Maltby #ifndef _FMEV_CHANNELS_H
2749b225e1SGavin Maltby #define	_FMEV_CHANNELS_H
2849b225e1SGavin Maltby 
2949b225e1SGavin Maltby /*
3049b225e1SGavin Maltby  * libfmevent - private GPEC channel names
3149b225e1SGavin Maltby  *
3249b225e1SGavin Maltby  * Note: The contents of this file are private to the implementation of
3349b225e1SGavin Maltby  * libfmevent and are subject to change at any time without notice.
3449b225e1SGavin Maltby  * This file is not delivered into /usr/include.
3549b225e1SGavin Maltby  */
3649b225e1SGavin Maltby 
3749b225e1SGavin Maltby #ifdef __cplusplus
3849b225e1SGavin Maltby extern "C" {
3949b225e1SGavin Maltby #endif
4049b225e1SGavin Maltby 
41*f6e214c7SGavin Maltby /*
42*f6e214c7SGavin Maltby  * Channel that fmd forwards protocol events on, feeding the subscription
43*f6e214c7SGavin Maltby  * aspect of libfmevent.
44*f6e214c7SGavin Maltby  */
4549b225e1SGavin Maltby #define	FMD_SNOOP_CHANNEL	"com.sun:fm:protocol_snoop"
4649b225e1SGavin Maltby 
47*f6e214c7SGavin Maltby /*
48*f6e214c7SGavin Maltby  * Channels on which published events are dispatched towards fmd for
49*f6e214c7SGavin Maltby  * processing into full protocol events.
50*f6e214c7SGavin Maltby  */
51*f6e214c7SGavin Maltby #define	FMEV_CHAN_USER_PRIV_HV		"com.sun:fm:user_priv_highval"
52*f6e214c7SGavin Maltby #define	FMEV_CHAN_USER_PRIV_LV		"com.sun:fm:user_priv_lowval"
53*f6e214c7SGavin Maltby #define	FMEV_CHAN_USER_NOPRIV_HV	"com.sun:fm:user_nopriv_highval"
54*f6e214c7SGavin Maltby #define	FMEV_CHAN_USER_NOPRIV_LV	"com.sun:fm:user_nopriv_lowval"
55*f6e214c7SGavin Maltby #define	FMEV_CHAN_KERNEL_HV		"com.sun:fm:kernel_highval"
56*f6e214c7SGavin Maltby #define	FMEV_CHAN_KERNEL_LV		"com.sun:fm:kernel_lowval"
57*f6e214c7SGavin Maltby 
5849b225e1SGavin Maltby #ifdef __cplusplus
5949b225e1SGavin Maltby }
6049b225e1SGavin Maltby #endif
6149b225e1SGavin Maltby 
6249b225e1SGavin Maltby #endif /* _FMEV_CHANNELS_H */
63