dbm_apply_ifset
extern int dbm_apply_ifset(int, int (*)(), void *);
(void) dbm_apply_ifset(bmd, count_bits_cb, &cnt);