1 /* 2 * Copyright (c) 2024 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16 #include "cj_ffi/cj_common_ffi.h" 17 18 extern "C" { 19 FFI_EXPORT int FfiOHOSDistributedKVStoreCreateKVManager = 0; 20 21 FFI_EXPORT int FfiOHOSDistributedKVStoreGetKVStore = 0; 22 23 FFI_EXPORT int FfiOHOSDistributedKVStoreCloseKVStore = 0; 24 25 FFI_EXPORT int FfiOHOSDistributedKVStoreDeleteKVStore = 0; 26 27 FFI_EXPORT int FfiOHOSDistributedKVStoreGetAllKVStoreId = 0; 28 29 FFI_EXPORT int FfiOHOSDistributedKVStoreSingleKVStorePut = 0; 30 31 FFI_EXPORT int FfiOHOSDistributedKVStoreSingleKVStorePutBatch = 0; 32 33 FFI_EXPORT int FfiOHOSDistributedKVStoreSingleKVStoreDelete = 0; 34 35 FFI_EXPORT int FfiOHOSDistributedKVStoreSingleKVStoreDeleteBatch = 0; 36 37 FFI_EXPORT int FfiOHOSDistributedKVStoreSingleKVStoreGet = 0; 38 39 FFI_EXPORT int FfiOHOSDistributedKVStoreSingleKVStoreBackup = 0; 40 41 FFI_EXPORT int FfiOHOSDistributedKVStoreSingleKVStoreRestore = 0; 42 43 FFI_EXPORT int FfiOHOSDistributedKVStoreSingleKVStoreStartTransaction = 0; 44 45 FFI_EXPORT int FfiOHOSDistributedKVStoreSingleKVStoreCommit = 0; 46 47 FFI_EXPORT int FfiOHOSDistributedKVStoreSingleKVStoreRollback = 0; 48 49 FFI_EXPORT int FfiOHOSDistributedKVStoreSingleKVStoreEnableSync = 0; 50 51 FFI_EXPORT int FfiOHOSDistributedKVStoreSingleKVStoreSetSyncParam = 0; 52 53 FFI_EXPORT int FfiOHOSDistributedKVStoreQueryConstructor = 0; 54 55 FFI_EXPORT int FfiOHOSDistributedKVStoreQueryReset = 0; 56 57 FFI_EXPORT int FfiOHOSDistributedKVStoreQueryEqualTo = 0; 58 59 FFI_EXPORT int FfiOHOSDistributedKVStoreDeviceKVStoreGet = 0; 60 61 FFI_EXPORT int FfiOHOSDistributedKVStoreDeviceKVStoreGetEntries = 0; 62 63 FFI_EXPORT int FfiOHOSDistributedKVStoreDeviceKVStoreGetEntriesQuery = 0; 64 65 FFI_EXPORT int FfiOHOSDistributedKVStoreDeviceKVStoreGetResultSet = 0; 66 67 FFI_EXPORT int FfiOHOSDistributedKVStoreDeviceKVStoreGetResultSetQuery = 0; 68 69 FFI_EXPORT int FfiOHOSDistributedKVStoreDeviceKVStoreGetResultSize = 0; 70 71 FFI_EXPORT int FfiOHOSDistributedKVStoreKVStoreResultSetGetCount = 0; 72 }