combined the preflop enumerate functions into a single one which takes a function pointer