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_common_ffi.h" 17 18 extern "C" { 19 FFI_EXPORT int FfiOHOSRelationalStoreGetRdbStore = 0; 20 FFI_EXPORT int FfiOHOSRelationalStoreDeleteRdbStore = 0; 21 FFI_EXPORT int FfiOHOSRelationalStoreDeleteRdbStoreConfig = 0; 22 FFI_EXPORT int FfiOHOSRelationalStoreRdbPredicatesConstructor = 0; 23 FFI_EXPORT int FfiOHOSRelationalStoreInDevices = 0; 24 FFI_EXPORT int FfiOHOSRelationalStoreGetAllColumnNames = 0; 25 FFI_EXPORT int FfiOHOSRelationalStoreGetColumnCount = 0; 26 FFI_EXPORT int FfiOHOSRelationalStoreGetRowCount = 0; 27 FFI_EXPORT int FfiOHOSRelationalStoreGetRowIndex = 0; 28 FFI_EXPORT int FfiOHOSRelationalStoreIsAtFirstRow = 0; 29 FFI_EXPORT int FfiOHOSRelationalStoreIsAtLastRow = 0; 30 FFI_EXPORT int FfiOHOSRelationalStoreIsEnded = 0; 31 FFI_EXPORT int FfiOHOSRelationalStoreIsStarted = 0; 32 FFI_EXPORT int FfiOHOSRelationalStoreIsClosed = 0; 33 FFI_EXPORT int FfiOHOSRelationalStoreInAllDevices = 0; 34 FFI_EXPORT int FfiOHOSRelationalStoreBeginWrap = 0; 35 FFI_EXPORT int FfiOHOSRelationalStoreEndWrap = 0; 36 FFI_EXPORT int FfiOHOSRelationalStoreOr = 0; 37 FFI_EXPORT int FfiOHOSRelationalStoreAnd = 0; 38 FFI_EXPORT int FfiOHOSRelationalStoreContains = 0; 39 FFI_EXPORT int FfiOHOSRelationalStoreBeginsWith = 0; 40 FFI_EXPORT int FfiOHOSRelationalStoreEndsWith = 0; 41 FFI_EXPORT int FfiOHOSRelationalStoreIsNull = 0; 42 FFI_EXPORT int FfiOHOSRelationalStoreIsNotNull = 0; 43 FFI_EXPORT int FfiOHOSRelationalStoreLike = 0; 44 FFI_EXPORT int FfiOHOSRelationalStoreGlob = 0; 45 FFI_EXPORT int FfiOHOSRelationalStoreOrderByAsc = 0; 46 FFI_EXPORT int FfiOHOSRelationalStoreOrderByDesc = 0; 47 FFI_EXPORT int FfiOHOSRelationalStoreDistinct = 0; 48 FFI_EXPORT int FfiOHOSRelationalStoreLimitAs = 0; 49 FFI_EXPORT int FfiOHOSRelationalStoreOffsetAs = 0; 50 FFI_EXPORT int FfiOHOSRelationalStoreGroupBy = 0; 51 FFI_EXPORT int FfiOHOSRelationalStoreIndexedBy = 0; 52 FFI_EXPORT int FfiOHOSRelationalStoreLessThanOrEqualTo = 0; 53 FFI_EXPORT int FfiOHOSRelationalStoreEqualTo = 0; 54 FFI_EXPORT int FfiOHOSRelationalStoreGreaterThanOrEqualTo = 0; 55 FFI_EXPORT int FfiOHOSRelationalStoreGreaterThan = 0; 56 FFI_EXPORT int FfiOHOSRelationalStoreNotBetween = 0; 57 FFI_EXPORT int FfiOHOSRelationalStoreLessThan = 0; 58 FFI_EXPORT int FfiOHOSRelationalStoreBetween = 0; 59 FFI_EXPORT int FfiOHOSRelationalStoreIn = 0; 60 FFI_EXPORT int FfiOHOSRelationalStoreNotIn = 0; 61 FFI_EXPORT int FfiOHOSRelationalStoreNotEqualTo = 0; 62 FFI_EXPORT int FfiOHOSRelationalStoreQuery = 0; 63 FFI_EXPORT int FfiOHOSRelationalStoreRemoteQuery = 0; 64 FFI_EXPORT int FfiOHOSRelationalStoreUpdate = 0; 65 FFI_EXPORT int FfiOHOSRelationalStoreDelete = 0; 66 FFI_EXPORT int FfiOHOSRelationalStoreSetDistributedTables = 0; 67 FFI_EXPORT int FfiOHOSRelationalStoreSetDistributedTablesType = 0; 68 FFI_EXPORT int FfiOHOSRelationalStoreSetDistributedTablesConfig = 0; 69 FFI_EXPORT int FfiOHOSRelationalStoreObtainDistributedTableName = 0; 70 FFI_EXPORT int FfiOHOSRelationalStoreRollBack = 0; 71 FFI_EXPORT int FfiOHOSRelationalStoreCommit = 0; 72 FFI_EXPORT int FfiOHOSRelationalStoreBeginTransaction = 0; 73 FFI_EXPORT int FfiOHOSRelationalStoreBackUp = 0; 74 FFI_EXPORT int FfiOHOSRelationalStoreReStore = 0; 75 FFI_EXPORT int FfiOHOSRelationalStoreInsert = 0; 76 FFI_EXPORT int FfiOHOSRelationalStoreExecuteSql = 0; 77 FFI_EXPORT int FfiOHOSRelationalStoreSync = 0; 78 FFI_EXPORT int FfiOHOSRelationalStoreGetDouble = 0; 79 FFI_EXPORT int FfiOHOSRelationalStoreGoToRow = 0; 80 FFI_EXPORT int FfiOHOSRelationalStoreGoToPreviousRow = 0; 81 FFI_EXPORT int FfiOHOSRelationalStoreGoToLastRow = 0; 82 FFI_EXPORT int FfiOHOSRelationalStoreGetColumnName = 0; 83 FFI_EXPORT int FfiOHOSRelationalStoreIsColumnNull = 0; 84 FFI_EXPORT int FfiOHOSRelationalStoreGetAsset = 0; 85 FFI_EXPORT int FfiOHOSRelationalStoreClose = 0; 86 FFI_EXPORT int FfiOHOSRelationalStoreGetColumnIndex = 0; 87 FFI_EXPORT int FfiOHOSRelationalStoreGetString = 0; 88 FFI_EXPORT int FfiOHOSRelationalStoreGoToFirstRow = 0; 89 FFI_EXPORT int FfiOHOSRelationalStoreGetLong = 0; 90 FFI_EXPORT int FfiOHOSRelationalStoreGoToNextRow = 0; 91 FFI_EXPORT int FfiOHOSRelationalStoreGetBlob = 0; 92 FFI_EXPORT int FfiOHOSRelationalStoreGoTo = 0; 93 FFI_EXPORT int FfiOHOSRelationalStoreGetAssets = 0; 94 FFI_EXPORT int FfiOHOSRelationalStoreCleanDirtyData = 0; 95 FFI_EXPORT int FfiOHOSRelationalStoreBatchInsert = 0; 96 FFI_EXPORT int FfiOHOSRelationalStoreQuerySql = 0; 97 FFI_EXPORT int FfiOHOSRelationalStoreExecuteSqlBindArgs = 0; 98 FFI_EXPORT int FfiOHOSRelationalStoreGetRow = 0; 99 FFI_EXPORT int FfiOHOSRelationalStoreOn = 0; 100 FFI_EXPORT int FfiOHOSRelationalStoreOff = 0; 101 FFI_EXPORT int FfiOHOSRelationalStoreOffAll = 0; 102 FFI_EXPORT int FfiOHOSRelationalStoreEmit = 0; 103 }