rsmhash_add
rsmhash_add(&rsm_export_segs, (rsmresource_t *)new, key, 1, \
rsmhash_add(&rsm_import_segs, (rsmresource_t *)(arg), (key), 0, \