pub type ToggleAction = extern "C" fn(command_id: c_int) -> c_int;
Function pointer type for toggle actions.