1 /* 2 * Copyright (c) 2023 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 VDI_SAMPLE1_SYMBOL_H 10 #define VDI_SAMPLE1_SYMBOL_H 11 12 #include "hdf_load_vdi.h" 13 14 #ifdef __cplusplus 15 extern "C" { 16 #endif /* __cplusplus */ 17 18 struct ModuleA1 { 19 int (*ServiceA)(void); 20 int (*ServiceB)(struct ModuleA1 *modA); 21 int priData; 22 }; 23 24 struct VdiWrapperA1 { 25 struct HdfVdiBase base; 26 struct ModuleA1 *module; 27 }; 28 29 #ifdef __cplusplus 30 } 31 #endif /* __cplusplus */ 32 33 #endif /* VDI_SAMPLE1_SYMBOL_H */ 34