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 "softbus_adapter_xcollie.h"
17
18 #include <cstdint>
19
SoftBusSetWatchdogTimer(const char * name,uint32_t timeout,void (* func)(void *),void * args)20 int32_t SoftBusSetWatchdogTimer(const char *name, uint32_t timeout, void(*func)(void*), void *args)
21 {
22 (void)name;
23 (void)timeout;
24 (void)func;
25 (void)args;
26 return -1;
27 }
28
SoftBusCancelWatchdogTimer(int32_t id)29 void SoftBusCancelWatchdogTimer(int32_t id)
30 {
31 (void)id;
32 return;
33 }
34
SoftBusRunOneShotTask(const char * name,void (* task)(void),uint64_t delay)35 void SoftBusRunOneShotTask(const char *name, void(*task)(void), uint64_t delay)
36 {
37 (void)name;
38 (void)task;
39 (void)delay;
40 return;
41 }
42
SoftBusRunPeriodicalTask(const char * name,void (* task)(void),uint64_t interval,uint64_t delay)43 void SoftBusRunPeriodicalTask(const char *name, void(*task)(void), uint64_t interval, uint64_t delay)
44 {
45 (void)name;
46 (void)task;
47 (void)interval;
48 (void)delay;
49 return;
50 }
51