49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby/*
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby * CDDL HEADER START
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby *
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby * The contents of this file are subject to the terms of the
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby * Common Development and Distribution License (the "License").
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby * You may not use this file except in compliance with the License.
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby *
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby * or http://www.opensolaris.org/os/licensing.
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby * See the License for the specific language governing permissions
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby * and limitations under the License.
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby *
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby * When distributing Covered Code, include this CDDL HEADER in each
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby * If applicable, add the following below this CDDL HEADER, with the
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby * fields enclosed by brackets "[]" replaced with your own identifying
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby * information: Portions Copyright [yyyy] [name of copyright owner]
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby *
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby * CDDL HEADER END
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby */
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby/*
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby * Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby */
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby#ifndef _FMEV_CHANNELS_H
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby#define _FMEV_CHANNELS_H
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby/*
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby * libfmevent - private GPEC channel names
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby *
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby * Note: The contents of this file are private to the implementation of
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby * libfmevent and are subject to change at any time without notice.
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby * This file is not delivered into /usr/include.
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby */
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby#ifdef __cplusplus
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltbyextern "C" {
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby#endif
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby/*
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby * Channel that fmd forwards protocol events on, feeding the subscription
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby * aspect of libfmevent.
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby */
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby#define FMD_SNOOP_CHANNEL "com.sun:fm:protocol_snoop"
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby/*
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby * Channels on which published events are dispatched towards fmd for
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby * processing into full protocol events.
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby */
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby#define FMEV_CHAN_USER_PRIV_HV "com.sun:fm:user_priv_highval"
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby#define FMEV_CHAN_USER_PRIV_LV "com.sun:fm:user_priv_lowval"
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby#define FMEV_CHAN_USER_NOPRIV_HV "com.sun:fm:user_nopriv_highval"
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby#define FMEV_CHAN_USER_NOPRIV_LV "com.sun:fm:user_nopriv_lowval"
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby#define FMEV_CHAN_KERNEL_HV "com.sun:fm:kernel_highval"
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby#define FMEV_CHAN_KERNEL_LV "com.sun:fm:kernel_lowval"
f6e214c7418f43af38bd8c3a557e3d0a1d311cfaGavin Maltby
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby#ifdef __cplusplus
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby}
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby#endif
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby
49b225e1cfa7bbf7738d4df0a03f18e3283426ebGavin Maltby#endif /* _FMEV_CHANNELS_H */