Modify licenses
[scp/ocu/5gnr.git] / Include / msgb.h
index 903bc35..35f55ee 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        MSGB_H
 #define        MSGB_H
@@ -14,7 +26,7 @@
 
 extern ULONG gMsgbFreeCount;
 
-typedef struct 
+typedef struct
 {
        UINT16  maxHeadLen;                     /* Head域预留的长度 */
        UINT16  maxDataLen;                     /* Data域预留的长度 */
@@ -43,7 +55,7 @@ UINT8 *msgbTailPullWithDebug(MsgbBuff_t *pMsgBuff, UINT32 len,unsigned char *fun
 
 #define msgbAlloc( dataLen,  maxHeadLen,  moduleId) msgbAllocWithDebug( dataLen,  maxHeadLen,  moduleId,(UCHAR *)__func__,__LINE__)
 
-       
+
 
 #define msgbData(pMsgBuff) msgbDataWithDebug(pMsgBuff,(UCHAR *)__func__,__LINE__)
 
@@ -78,4 +90,3 @@ extern UINT16 msgbTailLeftRoom(MsgbBuff_t *pMsgBuff);
 #define msgbTailPull(pMsgBuff,  len) msgbTailPullWithDebug(pMsgBuff,  len,(UCHAR *)__func__,__LINE__)
 
 #endif /* MSGB_H */
-