start with routing
[spider.git] / perl / DXChannel.pm
index 3b3ac62f13b84e193c0ff661981d3ba3a7981616..536e7bb363dc3cea6e7e1cb3c9f7dc9a83f74119 100644 (file)
@@ -220,6 +220,17 @@ sub get_all_user_calls
        return @out;
 }
 
+# return a list of all node callsigns
+sub get_all_node_calls
+{
+       my $ref;
+       my @out;
+       foreach $ref (values %channels) {
+               push @out, $ref->{call} if $ref->is_node;
+       }
+       return @out;
+}
+
 # obtain a channel object by searching for its connection reference
 sub get_by_cnum
 {