1 /*
2 * Copyright (c) 2022 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 <securec.h>
17
18 #include "client_trans_file.h"
19 #include "client_trans_file_listener.h"
20 #include "file_adapter.h"
21 #include "nstackx_dfile.h"
22 #include "softbus_errcode.h"
23 #include "softbus_log.h"
24 #include "softbus_utils.h"
25
TransFileSchemaInit(void)26 int32_t TransFileSchemaInit(void)
27 {
28 return SOFTBUS_OK;
29 }
30
TransFileSchemaDeinit(void)31 void TransFileSchemaDeinit(void)
32 {
33 }
34
CheckFileSchema(int32_t sessionId,FileSchemaListener * fileSchemaListener)35 int32_t CheckFileSchema(int32_t sessionId, FileSchemaListener *fileSchemaListener)
36 {
37 (void)sessionId;
38 (void)fileSchemaListener;
39 return SOFTBUS_OK;
40 }
41
SetSchemaCallback(FileSchema fileSchema,const char * sFileList[],uint32_t fileCnt)42 int32_t SetSchemaCallback(FileSchema fileSchema, const char *sFileList[], uint32_t fileCnt)
43 {
44 (void)fileSchema;
45 (void)sFileList;
46 (void)fileCnt;
47 return SOFTBUS_OK;
48 }