projects
/
spider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add disc users|nodes|all to disconnect cmd
[spider.git]
/
perl
/
DXChannel.pm
diff --git
a/perl/DXChannel.pm
b/perl/DXChannel.pm
index fcc230aa324b25238535084697d473b1cfdf60a1..69a72abe9e1d4438118f991b5e3b86f515206099 100644
(file)
--- a/
perl/DXChannel.pm
+++ b/
perl/DXChannel.pm
@@
-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
{