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_decision_center.h"
17 
18 #include "lnn_log.h"
19 #include "softbus_errcode.h"
20 
LnnInitDecisionCenter(uint32_t version)21 int32_t LnnInitDecisionCenter(uint32_t version)
22 {
23     (void)version;
24     LNN_LOGI(LNN_INIT, "decision center init success");
25     return SOFTBUS_OK;
26 }
27 
LnnDeinitDecisionCenter(void)28 void LnnDeinitDecisionCenter(void)
29 {
30     LNN_LOGI(LNN_INIT, "decision center deinit success");
31 }
32 
LnnDcSubscribe(DcTask * task)33 int32_t LnnDcSubscribe(DcTask *task)
34 {
35     (void)task;
36     LNN_LOGI(LNN_BUILDER, "decision center subscribe task success");
37     return SOFTBUS_OK;
38 }
39 
LnnDcUnsubscribe(DcTask * task)40 int32_t LnnDcUnsubscribe(DcTask *task)
41 {
42     (void)task;
43     LNN_LOGI(LNN_BUILDER, "decision center unsubscribe task success");
44     return SOFTBUS_OK;
45 }
46 
LnnDcDispatchEvent(DcEvent * dcEvent)47 void LnnDcDispatchEvent(DcEvent *dcEvent)
48 {
49     (void)dcEvent;
50     LNN_LOGI(LNN_BUILDER, "decision center disptach event success");
51 }