Use enums so gdb will print out state names instead of numbers for request->child_state and request->master_state