Selecting parameters set in function

Hi,
I’d like to run identical code with different set of parameters. The parameters are saved in a array like this:

int LB1[] = {0, 120, 0, 0, 0, 0, 0, 0};
int LB2[] = {120, 0, 0, 0, 0, 0, 0, 0};

The executing code would be a simple function like

if ((time < LB[1]) && (time> LB[0]))  {(D1=1);} //an

where [1] and [0] are the data position in the array.

Here is my question: How to define the variable before which can trigger LB to be LB1 or LB2?

Make a LB a two dimensional array, or use a pointer.