src/common/map.c
// Set a hashing function for use when inserting and re-hashing entries
Set a hashing function for use when inserting and re-hashing entries
Set a hashing function for use when inserting and re - hashing entries
int map_set_hash_function(struct map *map, map_hash_function_t function)
{
        if (map->bucket_count > 0) {
                return -1;
        }
        map->hash_function = function;
        return 0;
}
int map_set_hash_function ( struct map * map , map_hash_function_t function ) { if ( map -> bucket_count > 0 ) { return -1 ; } map -> hash_function = function ; return 0 ; }
Set a hashing function for use when inserting and re-hashing entries
Set a hashing function for use when inserting and re - hashing entries
// Since we have entries we can't use a different hashing func