sd: remove 'ssd' driver support
[unleashed/tickless.git] / usr / src / lib / udapl / libdat / include / dat_init.h
blobbab0bdeb21ebb508ed313be67be7f6e0dec6aac8
1 /*
2 * CDDL HEADER START
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
7 * with the License.
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
20 * CDDL HEADER END
23 * Copyright (c) 2002-2003, Network Appliance, Inc. All rights reserved.
27 * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
28 * Use is subject to license terms.
33 * HEADER: dat_init.h
35 * PURPOSE: DAT registry global data
37 * $Id: dat_init.h,v 1.8 2003/06/16 17:53:35 sjs2 Exp $
40 #ifndef _DAT_INIT_H_
41 #define _DAT_INIT_H_
43 #pragma ident "%Z%%M% %I% %E% SMI"
45 #ifdef __cplusplus
46 extern "C" {
47 #endif
51 * Enumerations
55 typedef enum
57 DAT_MODULE_STATE_UNINITIALIZED,
58 DAT_MODULE_STATE_INITIALIZING,
59 DAT_MODULE_STATE_INITIALIZED,
60 DAT_MODULE_STATE_DEINITIALIZING,
61 DAT_MODULE_STATE_DEINITIALIZED
62 } DAT_MODULE_STATE;
66 * Function Prototypes
70 DAT_MODULE_STATE
71 dat_module_get_state(void);
73 void
74 dat_init(void);
76 void
77 dat_fini(void);
79 #ifdef __cplusplus
81 #endif
83 #endif /* _DAT_INIT_H_ */