ports/net/omnitty/files/patch-machmgr.h
Tobias Kortkamp f0f35ca44f net/omnitty: Add abililty to "toggle" tagged machines
We often need to do "something" to about half the machines, then
do "something else" to the other half.  So add a hack to toggle the
"tagged" status of the machines.

This is implemented by means of the F1 menu; the command characters
"o" and "O" can toggle the "tagged" status of the machines.

PR:		211682
Submitted by:	maintainer
2018-08-09 12:25:08 +00:00

13 lines
515 B
C

--- machmgr.h.orig 2005-10-25 22:04:01 UTC
+++ machmgr.h
@@ -106,6 +106,10 @@ void machmgr_delete_dead();
/* Deletes all tagged machines */
void machmgr_delete_tagged();
+/* Toggles tagged status of all machines. If ignore_dead, does not
+ * tag dead machines (i.e. machines whose alive flag is down). */
+void machmgr_toggle_tag_all(bool ignore_dead);
+
/* Tags all machines. If ignore_dead, does not tag dead machines (i.e. machines
* whose alive flag is down). */
void machmgr_tag_all(bool ignore_dead);