/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (the "License"). You may not use this file except in compliance
* with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _SYS_MD_NOTIFY_H
#define _SYS_MD_NOTIFY_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
/* mdn_flags bits in struct md_event_queue */
typedef enum md_event_type {
EQ_EMPTY = 0,
/* Configuration Changes */
/* State Changes */
/* User defined event */
/* Notify Specfic */
EQ_LAST }
typedef enum md_event_cmds {
typedef enum md_tags {
} md_tags_t;
#pragma pack(4)
#endif
typedef struct md_event_ioctl {
/* queue name */
#pragma pack()
#endif
/* ioctl flags */
typedef enum notify_cmds_t
typedef struct notify {
}notify_t;
#ifdef _KERNEL
typedef struct md_event {
typedef struct md_event_queue {
/* queue name */
/*
* The remainder of this file defines items that are used for testing
* md_notify.
*/
/*
* Named services for testing
*/
/*
* The MD_NOTIFY_TEST_STATS named service can be invoked to get md_notify
* to set the values of this structure. The md_tnotify module uses this
* structure.
*/
typedef struct md_notify_stats {
/* event queue. */
#endif /* _KERNEL */
#ifdef __cplusplus
}
#endif
#endif /* _SYS_MD_NOTIFY_H */