add disc users|nodes|all to disconnect cmd
[spider.git] / perl / DXChannel.pm
index fcc230aa324b25238535084697d473b1cfdf60a1..69a72abe9e1d4438118f991b5e3b86f515206099 100644 (file)
@@ -239,6 +239,17 @@ sub get_all_nodes
        return @out;
 }
 
+# return a list of node calls
+sub get_all_node_calls
+{
+       my $ref;
+       my @out;
+       foreach $ref (values %channels) {
+               push @out, $ref->{call} if $ref->is_node;
+       }
+       return @out;
+}
+
 # return a list of all users
 sub get_all_users
 {