• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 #include <stdio.h>
16 #include "legacy/softbus_hidumper_trans.h"
17 #include "softbus_error_code.h"
18 
SoftBusRegTransVarDump(const char * dumpVar,SoftBusVarDumpCb cb)19 int32_t SoftBusRegTransVarDump(const char* dumpVar, SoftBusVarDumpCb cb)
20 {
21     (void)dumpVar;
22     (void)cb;
23     return SOFTBUS_OK;
24 }
25 
SoftBusTransDumpRegisterSession(int fd,const char * pkgName,const char * sessionName,int uid,int pid)26 void SoftBusTransDumpRegisterSession(int fd, const char* pkgName, const char* sessionName,
27     int uid, int pid)
28 {
29     (void)fd;
30     (void)pkgName;
31     (void)sessionName;
32     (void)uid;
33     (void)pid;
34 
35     return;
36 }
37 
SoftBusTransDumpRunningSession(int fd,TransDumpLaneLinkType type,AppInfo * appInfo)38 void SoftBusTransDumpRunningSession(int fd, TransDumpLaneLinkType type, AppInfo* appInfo)
39 {
40     (void)fd;
41     (void)type;
42     (void)appInfo;
43 
44     return;
45 }
46 
SoftBusTransDumpHanderInit(void)47 int32_t SoftBusTransDumpHanderInit(void)
48 {
49     return SOFTBUS_OK;
50 }
51 
SoftBusHiDumperTransDeInit(void)52 void SoftBusHiDumperTransDeInit(void)
53 {
54 }
55 
SoftBusTransDumpHandlerInit(void)56 int32_t SoftBusTransDumpHandlerInit(void)
57 {
58     return SOFTBUS_OK;
59 }
60