This can be done very easily with C's enumerated type facility:
enum {ix_first_param, ix_second_param, ... }
The ix_ stands for ``index.'' It's just a convention that makes the meaning of the name more clear. You should name the constants in accordance with the parameter's use; for instance, the example delay machine uses ix_length and ix_feedback.