1 /*
2 * Copyright (c) 2022-2024 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
SoftBusSetWatchdogTimer(const char * name,uint32_t timeout,void (* func)(void *),void * args)18 int32_t SoftBusSetWatchdogTimer(const char *name, uint32_t timeout, void(*func)(void*), void *args)
19 {
20 (void)name;
21 (void)timeout;
22 (void)func;
23 (void)args;
24 return -1;
25 }
26
SoftBusCancelWatchdogTimer(int32_t id)27 void SoftBusCancelWatchdogTimer(int32_t id)
28 {
29 (void)id;
30 }
31
SoftBusRunOneShotTask(const char * name,void (* task)(void),uint64_t delay)32 void SoftBusRunOneShotTask(const char *name, void(*task)(void), uint64_t delay)
33 {
34 (void)name;
35 (void)task;
36 (void)delay;
37 }
38
SoftBusRunPeriodicalTask(const char * name,void (* task)(void),uint64_t interval,uint64_t delay)39 void SoftBusRunPeriodicalTask(const char *name, void(*task)(void), uint64_t interval, uint64_t delay)
40 {
41 (void)name;
42 (void)task;
43 (void)interval;
44 (void)delay;
45 }
46