1 /*
2 * Copyright (c) 2022-2025 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 "softbus_connector.h"
17
GetNodeKeyInfo(const char * pkgName,const char * networkId,NodeDeviceInfoKey key,uint8_t * info,int32_t infoLen)18 int32_t GetNodeKeyInfo(const char *pkgName, const char *networkId, NodeDeviceInfoKey key, uint8_t *info,
19 int32_t infoLen)
20 {
21 (void)pkgName;
22 (void)networkId;
23 (void)key;
24 (void)info;
25 (void)infoLen;
26 return 0;
27 }
28
RegNodeDeviceStateCb(const char * pkgName,INodeStateCb * callback)29 int32_t RegNodeDeviceStateCb(const char *pkgName, INodeStateCb *callback)
30 {
31 (void)pkgName;
32 (void)callback;
33 return 0;
34 };
35
GetAllNodeDeviceInfo(const char * pkgName,NodeBasicInfo ** info,int32_t * infoNum)36 int32_t GetAllNodeDeviceInfo(const char *pkgName, NodeBasicInfo **info, int32_t *infoNum)
37 {
38 (void)pkgName;
39 (void)info;
40 (void)infoNum;
41 return 0;
42 }
43
PublishLNN(const char * pkgName,const PublishInfo * info,const IPublishCb * cb)44 int32_t PublishLNN(const char *pkgName, const PublishInfo *info, const IPublishCb *cb)
45 {
46 (void)pkgName;
47 (void)info;
48 (void)cb;
49 return 0;
50 }
51
StopPublishLNN(const char * pkgName,int32_t publishId)52 int32_t StopPublishLNN(const char *pkgName, int32_t publishId)
53 {
54 (void)pkgName;
55 (void)publishId;
56 return 0;
57 }
58
CreateSessionServer(const char * pkgName,const char * sessionName,const ISessionListener * listener)59 int CreateSessionServer(const char *pkgName, const char *sessionName, const ISessionListener *listener)
60 {
61 (void)pkgName;
62 (void)sessionName;
63 (void)listener;
64 return 0;
65 }
66
67