1 /* 2 * Copyright (c) 2023 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 "lnn_device_info_recovery.h" 17 18 #include "softbus_errcode.h" 19 #include "softbus_log.h" 20 LnnLoadLocalDeviceInfo(void)21int32_t LnnLoadLocalDeviceInfo(void) 22 { 23 return SOFTBUS_NOT_IMPLEMENT; 24 } 25 LnnLoadRemoteDeviceInfo(void)26int32_t LnnLoadRemoteDeviceInfo(void) 27 { 28 return SOFTBUS_NOT_IMPLEMENT; 29 } 30 LnnSaveLocalDeviceInfo(const NodeInfo * deviceInfo)31int32_t LnnSaveLocalDeviceInfo(const NodeInfo *deviceInfo) 32 { 33 (void)deviceInfo; 34 return SOFTBUS_NOT_IMPLEMENT; 35 } 36 LnnGetLocalDevInfo(NodeInfo * deviceInfo)37int32_t LnnGetLocalDevInfo(NodeInfo *deviceInfo) 38 { 39 (void)deviceInfo; 40 return SOFTBUS_NOT_IMPLEMENT; 41 } 42 LnnSaveRemoteDeviceInfo(const NodeInfo * deviceInfo)43int32_t LnnSaveRemoteDeviceInfo(const NodeInfo *deviceInfo) 44 { 45 (void)deviceInfo; 46 return SOFTBUS_NOT_IMPLEMENT; 47 } 48 LnnUpdateRemoteDeviceInfo(const NodeInfo * deviceInfo)49int32_t LnnUpdateRemoteDeviceInfo(const NodeInfo *deviceInfo) 50 { 51 (void)deviceInfo; 52 return SOFTBUS_NOT_IMPLEMENT; 53 } 54 LnnRetrieveDeviceInfo(const char * udid,NodeInfo * deviceInfo)55int32_t LnnRetrieveDeviceInfo(const char *udid, NodeInfo *deviceInfo) 56 { 57 (void)udid; 58 (void)deviceInfo; 59 return SOFTBUS_NOT_IMPLEMENT; 60 } 61 LnnRetrieveDeviceInfoByNetworkId(const char * networkId)62NodeInfo *LnnRetrieveDeviceInfoByNetworkId(const char *networkId) 63 { 64 (void)networkId; 65 return NULL; 66 } 67 LnnDeleteDeviceInfo(const char * udid)68void LnnDeleteDeviceInfo(const char *udid) 69 { 70 (void)udid; 71 return; 72 } 73 ClearDeviceInfo(void)74void ClearDeviceInfo(void) 75 { 76 return; 77 } 78