+int right_scratchable(rights_type rights, const char *who,
+ const struct queue_entry *q);
+int right_movable(rights_type rights, const char *who,
+ const struct queue_entry *q);
+int right_removable(rights_type rights, const char *who,
+ const struct queue_entry *q);