bfcmap_util.h (2146B)
1 /* 2 * 3 * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. 4 * 5 * Copyright 2007-2019 Broadcom Inc. All rights reserved. 6 */ 7 8 #ifndef BFCMAP_UTIL_H 9 #define BFCMAP_UTIL_H 10 11 #include <bbase_util.h> 12 13 #define BFCMAP_PRINTF BBASE_PRINTF 14 15 #define BFCMAP_DBG_PRINTF BBASE_DBG_PRINTF 16 17 18 #ifndef BFCMAP_SAL_ASSERT 19 #define BFCMAP_SAL_ASSERT(c) BMF_SAL_ASSERT(c) 20 #endif 21 22 #ifndef BFCMAP_SAL_PRINTF 23 #define BFCMAP_SAL_PRINTF BMF_SAL_PRINTF 24 #endif 25 26 #ifndef BFCMAP_SAL_DBG_PRINTF 27 #define BFCMAP_SAL_DBG_PRINTF BMF_SAL_DBG_PRINTF 28 #endif 29 30 #ifndef BFCMAP_SAL_MEMCPY 31 #define BFCMAP_SAL_MEMCPY BMF_SAL_MEMCPY 32 #endif 33 34 #ifndef BFCMAP_SAL_MEMCMP 35 #define BFCMAP_SAL_MEMCMP BMF_SAL_MEMCMP 36 #endif 37 38 #ifndef BFCMAP_SAL_MEMSET 39 #define BFCMAP_SAL_MEMSET BMF_SAL_MEMSET 40 #endif 41 42 43 #ifndef BFCMAP_SAL_STRLEN 44 #define BFCMAP_SAL_STRLEN BMF_SAL_STRLEN 45 #endif 46 47 #ifndef BFCMAP_SAL_STRCPY 48 #define BFCMAP_SAL_STRCPY BMF_SAL_STRCPY 49 #endif 50 51 #ifndef BFCMAP_SAL_STRNCPY 52 #define BFCMAP_SAL_STRNCPY BMF_SAL_STRNCPY 53 #endif 54 55 #ifndef BFCMAP_SAL_STRCMP 56 #define BFCMAP_SAL_STRCMP BMF_SAL_STRCMP 57 #endif 58 59 #ifndef BFCMAP_SAL_STRCMPI 60 #define BFCMAP_SAL_STRCMPI BMF_SAL_STRCMPI 61 #endif 62 63 #ifndef BFCMAP_SAL_STRNCMP 64 #define BFCMAP_SAL_STRNCMP BMF_SAL_STRNCMP 65 #endif 66 67 #ifndef BFCMAP_SAL_STRNCASECMP 68 #define BFCMAP_SAL_STRNCASECMP BMF_SAL_STRNCASECMP 69 #endif 70 71 #ifndef BFCMAP_SAL_STRCHR 72 #define BFCMAP_SAL_STRCHR BMF_SAL_STRCHR 73 #endif 74 75 #ifndef BFCMAP_SAL_STRSTR 76 #define BFCMAP_SAL_STRSTR BMF_SAL_STRSTR 77 #endif 78 79 #ifndef BFCMAP_SAL_STRCAT 80 #define BFCMAP_SAL_STRCAT BMF_SAL_STRCAT 81 #endif 82 83 #ifndef BFCMAP_SAL_STRTOK 84 #define BFCMAP_SAL_STRTOK BMF_SAL_STRTOK 85 #endif 86 87 #ifndef BFCMAP_SAL_ATOI 88 #define BFCMAP_SAL_ATOI BMF_SAL_ATOI 89 #endif 90 91 #ifndef BFCMAP_SAL_STRDUP 92 #define BFCMAP_SAL_STRDUP BMF_SAL_STRDUP 93 #endif 94 95 #ifndef BFCMAP_SAL_XSPRINTF 96 #define BFCMAP_SAL_XSPRINTF BMF_SAL_XSPRINTF 97 #endif /* BFCMAP_SAL_XSPRINTF */ 98 99 #endif /* BFCMAP_UTIL_H */ 100