1 /* 2 * Copyright (c) 2020-2021 Huawei Device Co., Ltd. 3 * 4 * HDF is dual licensed: you can use it either under the terms of 5 * the GPL, or the BSD license, at your option. 6 * See the LICENSE file in the root of this repository for complete details. 7 */ 8 9 #ifndef MMC_DISPATCH_H 10 #define MMC_DISPATCH_H 11 12 #ifndef __USER__ 13 #include "devsvc_manager_clnt.h" 14 #endif 15 16 #ifdef __USER__ 17 #include "hdf_io_service_if.h" 18 #endif 19 20 #ifdef __cplusplus 21 #if __cplusplus 22 extern "C" { 23 #endif 24 #endif /* __cplusplus */ 25 26 #ifndef __USER__ 27 int32_t MmcIoDispatch(struct HdfDeviceIoClient *client, int cmd, struct HdfSBuf *data, struct HdfSBuf *reply); 28 #endif 29 30 #ifdef __cplusplus 31 #if __cplusplus 32 } 33 #endif 34 #endif /* __cplusplus */ 35 36 #endif /* MMC_DISPATCH_H */ 37