\f
/* 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 */
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 */
/* 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 */