- call => '0,Callsign',
- conn => '9,Msg Conn ref',
- user => '9,DXUser ref',
- startt => '0,Start Time,atime',
- t => '9,Time,atime',
- pc50_t => '9,Last PC50 Time,atime',
- priv => '9,Privilege',
- state => '0,Current State',
- oldstate => '5,Last State',
- list => '9,Dep Chan List',
- name => '0,User Name',
- consort => '9,Connection Type',
- sort => '9,Type of Channel',
- wwv => '0,Want WWV,yesno',
- talk => '0,Want Talk,yesno',
- ann => '0,Want Announce,yesno',
- here => '0,Here?,yesno',
- confmode => '0,In Conference?,yesno',
- dx => '0,DX Spots,yesno',
- redirect => '0,Redirect messages to',
- lang => '0,Language',
- func => '9,Function',
- loc => '9,Local Vars', # used by func to store local variables in
- lastread => '9,Last Msg Read',
- outbound => '9,outbound?,yesno',
- remotecmd => '9,doing rcmd,yesno',
- pc34to => '9,last rcmd call',
- pc34t => '9,last rcmd time,atime',
- pings => '9,out/st pings',
-);
+ call => '0,Callsign',
+ conn => '9,Msg Conn ref',
+ user => '9,DXUser ref',
+ startt => '0,Start Time,atime',
+ t => '9,Time,atime',
+ pc50_t => '5,Last PC50 Time,atime',
+ priv => '9,Privilege',
+ state => '0,Current State',
+ oldstate => '5,Last State',
+ list => '9,Dep Chan List',
+ name => '0,User Name',
+ consort => '5,Connection Type',
+ 'sort' => '5,Type of Channel',
+ wwv => '0,Want WWV,yesno',
+ wcy => '0,Want WCY,yesno',
+ wx => '0,Want WX,yesno',
+ talk => '0,Want Talk,yesno',
+ ann => '0,Want Announce,yesno',
+ here => '0,Here?,yesno',
+ conf => '0,In Conference?,yesno',
+ dx => '0,DX Spots,yesno',
+ redirect => '0,Redirect messages to',
+ lang => '0,Language',
+ func => '5,Function',
+ loc => '9,Local Vars', # used by func to store local variables in
+ beep => '0,Want Beeps,yesno',
+ lastread => '5,Last Msg Read',
+ outbound => '5,outbound?,yesno',
+ remotecmd => '9,doing rcmd,yesno',
+ pagelth => '0,Page Length',
+ pagedata => '9,Page Data Store',
+ group => '0,Access Group,parray', # used to create a group of users/nodes for some purpose or other
+ isolate => '5,Isolate network,yesno',
+ delayed => '5,Delayed messages,parray',
+ annfilter => '5,Ann Filt-out',
+ wwvfilter => '5,WWV Filt-out',
+ wcyfilter => '5,WCY Filt-out',
+ spotsfilter => '5,Spot Filt-out',
+ routefilter => '5,Route Filt-out',
+ inannfilter => '5,Ann Filt-inp',
+ inwwvfilter => '5,WWV Filt-inp',
+ inwcyfilter => '5,WCY Filt-inp',
+ inspotsfilter => '5,Spot Filt-inp',
+ inroutefilter => '5,Route Filt-inp',
+ passwd => '9,Passwd List,yesno',
+ pingint => '5,Ping Interval ',
+ nopings => '5,Ping Obs Count',
+ lastping => '5,Ping last sent,atime',
+ pingtime => '5,Ping totaltime,parray',
+ pingave => '0,Ping ave time',
+ logininfo => '9,Login info req,yesno',
+ talklist => '0,Talk List,parray',
+ cluster => '5,Cluster data',
+ isbasic => '9,Internal Connection',
+ errors => '9,Errors',
+ route => '9,Route Data',
+ dxcc => '0,Country Code',
+ itu => '0,ITU Zone',
+ cq => '0,CQ Zone',
+ enhanced => '5,Enhanced Client,yesno',
+ senddbg => '8,Sending Debug,yesno',
+ width => '0,Column Width',
+ disconnecting => '9,Disconnecting,yesno',
+ ann_talk => '0,Suppress Talk Anns,yesno',
+ metric => '1,Route metric',
+ badcount => '1,Bad Word Count',
+ edit => '7,Edit Function',
+ registered => '9,Registered?,yesno',
+ prompt => '0,Required Prompt',
+ version => '1,Node Version',
+ build => '1,Node Build',
+ verified => '9,Verified?,yesno',
+ newroute => '1,New Style Routing,yesno',
+ );
+
+use vars qw($VERSION $BRANCH);
+$VERSION = sprintf( "%d.%03d", q$Revision$ =~ /(\d+)\.(\d+)/ );
+$BRANCH = sprintf( "%d.%03d", q$Revision$ =~ /\d+\.\d+\.(\d+)\.(\d+)/ || (0,0));
+$main::build += $VERSION;
+$main::branch += $BRANCH;
+
+# object destruction
+sub DESTROY
+{
+ my $self = shift;
+ for (keys %$self) {
+ if (ref($self->{$_})) {
+ delete $self->{$_};
+ }
+ }
+ dbg("DXChannel $self->{call} destroyed ($count)") if isdbg('chan');
+ $count--;
+}