Modify licenses
[scp/ocu/5gnr.git] / Include / vos_timer.h
index 66a1378..5941fe2 100644 (file)
@@ -1,9 +1,21 @@
 /******************************************************************************
-###############################################################################
-#   Copyright (c) [2017-2020] [ICT/CAS]                                        #
-#   Licensed under the ORAN Software License v1.0 (License)             #
-###############################################################################
-******************************************************************************/
+*
+*   Copyright (c) 2020 ICT/CAS.
+*
+*   Licensed under the O-RAN Software License, Version 1.0 (the "Software License");
+*   you may not use this file except in compliance with the License.
+*   You may obtain a copy of the License at
+*
+*       https://www.o-ran.org/software
+*
+*   Unless required by applicable law or agreed to in writing, software
+*   distributed under the License is distributed on an "AS IS" BASIS,
+*   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+*   See the License for the specific language governing permissions and
+*   limitations under the License.
+*
+*******************************************************************************/
+
 
 
 #ifndef __VOS_TIMER_H__
@@ -19,12 +31,12 @@ extern "C"
 /** VOS Timer 类型枚举值 */
 typedef enum
 {
-    VOS_TIMER_LOOP,             ///< 循环执行的timer 
-    VOS_TIMER_NO_LOOP,          ///< 执行一次的timer 
+    VOS_TIMER_LOOP,             ///< 循环执行的timer
+    VOS_TIMER_NO_LOOP,          ///< 执行一次的timer
 }VOS_TIMER_TYPE_EN;
 
 
-/** 
+/**
  * 创建定时器
  * @param[in]   ulModuleId         模块ID
  * @param[in]   msgQId             如果pfTimerFunc非空则无效;如果pfTimerFunc为NULL,则向msgQId队列发送定时器超时消息
@@ -38,7 +50,7 @@ LONG VOS_TimerCreate(ULONG ulModuleId, ULONG msgQId, LONG lMillSec,
     VOID  (*pfTimerFunc)(VOID *), VOID  *pArg, VOS_TIMER_TYPE_EN enType);
 
 
-/** 
+/**
 * 改变定时器时间,不能在超时回调函数中调用
 * @param[in]   ulModuleId         模块ID
 * @param[in]   ulTimerId          定时器Id
@@ -48,7 +60,7 @@ LONG VOS_TimerCreate(ULONG ulModuleId, ULONG msgQId, LONG lMillSec,
 LONG VOS_TimerChange(ULONG ulModuleId, ULONG ulTimerId, LONG lMillSec);
 
 
-/** 
+/**
 * 删除定时器
 * @param[in]   ulModuleId         模块ID
 * @param[in]   ulTimerId          定时器Id
@@ -57,7 +69,7 @@ LONG VOS_TimerChange(ULONG ulModuleId, ULONG ulTimerId, LONG lMillSec);
 LONG VOS_TimerDelete(ULONG ulModuleId, ULONG ulTimerId);
 
 
-/** 
+/**
  * 创建微秒定时器,必须绑核
  * @param[in]   ulModuleId         模块ID
  * @param[in]   luSec              定时器的时间,微妙
@@ -72,7 +84,7 @@ LONG VOS_usTimerCreate(ULONG ulModuleId,LONG luSec,VOID  (*pfTimerFunc)(VOID *),
 
 
 
-/** 
+/**
  * 创建微秒定时器,必须绑核
  * @param[in]   ulModuleId         模块ID
  * @param[in]   ulTimerId          Timer ID