X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fcm%2Fcm_hash.x;h=bd113af9be16dbc446b6b706a62e864191e10f55;hb=e698840bb6fcecc68be5b1d1fd17436bd1d5e83f;hp=716f1d19ff7e1b471fe2021a852a19d7cb8d64af;hpb=def50dc175cebc67238db5f1acd5ff322a2279bd;p=o-du%2Fl2.git diff --git a/src/cm/cm_hash.x b/src/cm/cm_hash.x index 716f1d19f..bd113af9b 100755 --- a/src/cm/cm_hash.x +++ b/src/cm/cm_hash.x @@ -106,7 +106,7 @@ struct cmHashListCp /* hash list control point */ /* functions prototypes */ -EXTERN S16 cmHashListInit ARGS(( +S16 cmHashListInit ARGS(( CmHashListCp *hashListCp, /* hash list to initialize */ uint16_t nmbBins, /* number of hash list bins */ uint16_t offset, /* offset of CmHashListEnt in entries */ @@ -115,33 +115,33 @@ EXTERN S16 cmHashListInit ARGS(( Region region, /* memory region to allocate bins */ Pool pool)); /* memory pool to allocate bins */ -EXTERN S16 cmHashListDeinit ARGS(( +S16 cmHashListDeinit ARGS(( CmHashListCp *hashListCp));/* hash list to initialize */ -EXTERN S16 cmHashListInsert ARGS(( +S16 cmHashListInsert ARGS(( CmHashListCp *hashListCp, /* hash list to add to */ PTR entry, /* entry to add */ uint8_t *key, /* pointer to key */ uint16_t keyLen)); /* length of key */ -EXTERN S16 cmHashListDelete ARGS(( +S16 cmHashListDelete ARGS(( CmHashListCp *hashListCp, /* hash list to delete from */ PTR entry)); /* entry to delete */ -EXTERN S16 cmHashListFind ARGS(( +S16 cmHashListFind ARGS(( CmHashListCp *hashListCp, /* hash list to search */ uint8_t *key, /* pointer to key */ uint16_t keyLen, /* length of key */ uint16_t seqNmb, /* used in case of duplicate keys */ PTR *entry)); /* entry to be returned */ -EXTERN S16 cmHashListGetNext ARGS(( +S16 cmHashListGetNext ARGS(( CmHashListCp *hashListCp, /* hash list to get from */ PTR prevEnt, /* previous entry */ PTR *entry)); /* entry to be returned */ #ifdef CM_MT_HASH_BIN -EXTERN S16 cmHashListBinGetNextEntry ARGS(( +S16 cmHashListBinGetNextEntry ARGS(( CmHashListCp *hashListCp, /* hash list to get from */ uint16_t binIdx, /* Index of the bin */ PTR prevEnt, /* previous entry */ @@ -150,14 +150,14 @@ EXTERN S16 cmHashListBinGetNextEntry ARGS(( /* This function is obsoleted! Use macros defined in cm_hash.h instead */ -EXTERN S16 cmHashListQuery ARGS(( +S16 cmHashListQuery ARGS(( CmHashListCp *hashListCp, /* hash list to query */ uint8_t queryType, /* type of query */ uint16_t *result)); /* result of query */ /* Hash list with open addressing */ -EXTERN S16 cmHashListOAInsert ARGS(( +S16 cmHashListOAInsert ARGS(( CmHashListCp *hashListCp, /* hash list to add to */ PTR entry, /* entry to add */ uint8_t *key, /* pointer to key */