xref: /titanic_50/usr/src/lib/fm/libfmevent/common/fmev_channels.h (revision 31c6d826a7f7a4ee7d83c8e99f25d82a4a248076)
1 /*
2  * CDDL HEADER START
3  *
4  * The contents of this file are subject to the terms of the
5  * Common Development and Distribution License (the "License").
6  * You may not use this file except in compliance with the License.
7  *
8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9  * or http://www.opensolaris.org/os/licensing.
10  * See the License for the specific language governing permissions
11  * and limitations under the License.
12  *
13  * When distributing Covered Code, include this CDDL HEADER in each
14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15  * If applicable, add the following below this CDDL HEADER, with the
16  * fields enclosed by brackets "[]" replaced with your own identifying
17  * information: Portions Copyright [yyyy] [name of copyright owner]
18  *
19  * CDDL HEADER END
20  */
21 
22 /*
23  * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
24  */
25 
26 #ifndef _FMEV_CHANNELS_H
27 #define	_FMEV_CHANNELS_H
28 
29 /*
30  * libfmevent - private GPEC channel names
31  *
32  * Note: The contents of this file are private to the implementation of
33  * libfmevent and are subject to change at any time without notice.
34  * This file is not delivered into /usr/include.
35  */
36 
37 #ifdef __cplusplus
38 extern "C" {
39 #endif
40 
41 /*
42  * Channel that fmd forwards protocol events on, feeding the subscription
43  * aspect of libfmevent.
44  */
45 #define	FMD_SNOOP_CHANNEL	"com.sun:fm:protocol_snoop"
46 
47 /*
48  * Channels on which published events are dispatched towards fmd for
49  * processing into full protocol events.
50  */
51 #define	FMEV_CHAN_USER_PRIV_HV		"com.sun:fm:user_priv_highval"
52 #define	FMEV_CHAN_USER_PRIV_LV		"com.sun:fm:user_priv_lowval"
53 #define	FMEV_CHAN_USER_NOPRIV_HV	"com.sun:fm:user_nopriv_highval"
54 #define	FMEV_CHAN_USER_NOPRIV_LV	"com.sun:fm:user_nopriv_lowval"
55 #define	FMEV_CHAN_KERNEL_HV		"com.sun:fm:kernel_highval"
56 #define	FMEV_CHAN_KERNEL_LV		"com.sun:fm:kernel_lowval"
57 
58 #ifdef __cplusplus
59 }
60 #endif
61 
62 #endif /* _FMEV_CHANNELS_H */
63