1 /*******************************************************************************
2 ################################################################################
3 # Copyright (c) [2017-2019] [Radisys] #
5 # Licensed under the Apache License, Version 2.0 (the "License"); #
6 # you may not use this file except in compliance with the License. #
7 # You may obtain a copy of the License at #
9 # http://www.apache.org/licenses/LICENSE-2.0 #
11 # Unless required by applicable law or agreed to in writing, software #
12 # distributed under the License is distributed on an "AS IS" BASIS, #
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
14 # See the License for the specific language governing permissions and #
15 # limitations under the License. #
16 ################################################################################
17 *******************************************************************************/
20 /********************************************************************20**
22 Name: common library functions
26 Desc: Prototypes for common functions that are implemented in
27 both a portable and a performance-efficient manner. These
28 functions are selected based on the operating system.
32 *********************************************************************21*/
43 uint8_t *cmMemcpy ARGS((uint8_t *tgt, const uint8_t *src, PTR len));
44 S16 cmMemcmp ARGS((const uint8_t *s1, const uint8_t *s2, PTR len));
45 uint8_t *cmMemset ARGS((uint8_t *src, uint8_t val, PTR len));
47 S16 cmStrcmp ARGS((const uint8_t *s1, const uint8_t *s2));
48 /* cm_lib_x_001.main_8:Changing from S16 to MsgLen.*/
49 S16 cmStrncmp ARGS((const uint8_t *s1, const uint8_t *s2, MsgLen len));
50 MsgLen cmStrlen ARGS((const uint8_t *s));
54 #endif /* __cplusplus */
55 #endif /* __CMLIBX__ */
58 /********************************************************************30**
61 **********************************************************************/