change the controls to return a struct ctdb_client_control_state* instead of a handle