started on the prefix stuff, got most of it done
[spider.git] / perl / cluster.pl
index f9bc45ffc1d797c80a702048e0107ad76711ef86..8a7ae01e7e02dd7368c3e027d4ac884a03b19737 100755 (executable)
@@ -26,6 +26,7 @@ use DXCommandmode;
 use DXProt;
 use DXCluster;
 use DXDebug;
+use Prefix;
 
 package main;
 
@@ -159,6 +160,9 @@ foreach(@debug) {
 }
 STDOUT->autoflush(1);
 
+# load Prefixes
+Prefix::load();
+
 # initialise User file system
 DXUser->init($userfn);
 
@@ -170,6 +174,9 @@ $SIG{'INT'} = \&cease;
 $SIG{'TERM'} = \&cease;
 $SIG{'HUP'} = 'IGNORE';
 
+# initialise the protocol engine
+DXProt->init();
+
 # this, such as it is, is the main loop!
 for (;;) {
   my $timenow;