VSF Documented
vsf_mal_scsi.h
Go to the documentation of this file.
1/*****************************************************************************
2 * Copyright(C)2009-2022 by VSF Team *
3 * *
4 * Licensed under the Apache License, Version 2.0 (the "License"); *
5 * you may not use this file except in compliance with the License. *
6 * You may obtain a copy of the License at *
7 * *
8 * http://www.apache.org/licenses/LICENSE-2.0 *
9 * *
10 * Unless required by applicable law or agreed to in writing, software *
11 * distributed under the License is distributed on an "AS IS" BASIS, *
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
13 * See the License for the specific language governing permissions and *
14 * limitations under the License. *
15 * *
16 ****************************************************************************/
17
18#ifndef __VSF_MAL_SCSI_H__
19#define __VSF_MAL_SCSI_H__
20
21/*============================ INCLUDES ======================================*/
22
23#include "../../vsf_scsi_cfg.h"
24
25#if VSF_USE_SCSI == ENABLED && VSF_USE_MAL == ENABLED && VSF_SCSI_USE_MAL_SCSI == ENABLED
26
28
29#if defined(__VSF_MAL_SCSI_CLASS_IMPLEMENT)
30# undef __VSF_MAL_SCSI_CLASS_IMPLEMENT
31# define __VSF_CLASS_IMPLEMENT__
32#endif
33
34#include "utilities/ooc_class.h"
35
36#ifdef __cplusplus
37extern "C" {
38#endif
39
40/*============================ MACROS ========================================*/
41/*============================ MACROFIED FUNCTIONS ===========================*/
42/*============================ TYPES =========================================*/
43
45 public_member(
46 implement(vk_virtual_scsi_t)
47 vk_mal_t *mal;
48 )
49#if VSF_USE_SIMPLE_STREAM == ENABLED
50 private_member(
51 vk_mal_stream_t mal_stream;
52 )
53#endif
54};
55
56/*============================ GLOBAL VARIABLES ==============================*/
57
59
60/*============================ PROTOTYPES ====================================*/
61
62#ifdef __cplusplus
63}
64#endif
65
66#endif // VSF_USE_SCSI && VSF_SCSI_USE_MAL_SCSI
67#endif // __VSF_MAL_SCSI_H__
#define ENABLED
Definition __type.h:28
Definition vsf_mal_scsi.h:44
mal stream class
Definition vsf_mal.h:187
mal class
Definition vsf_mal.h:154
Definition vsf_virtual_scsi.h:51
Definition vsf_virtual_scsi.h:94
#define vsf_class(__name)
Definition ooc_class.h:48
const vk_virtual_scsi_drv_t vk_mal_virtual_scsi_drv