Changeset 15771

Show
Ignore:
Timestamp:
29.05.2008 09:58:38 (11 years ago)
Author:
mdewsnip
Message:

(Adding dynamic classifiers) Added a new "dynamic_classifiers" field into ColInfoResponse?_t, and added support for parsing the "dynamic_classifier" directive from the collect.cfg file.

Location:
gsdl/trunk/src/colservr
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/src/colservr/collectserver.cpp

    r15587 r15771  
    257257         } 
    258258       } 
     259 
     260    // dynamic_classifier <UniqueID> "<Options>" 
     261    else if (key == "dynamic_classifier") 
     262    { 
     263      collectinfo.dynamic_classifiers[cfgline[0]] = cfgline[1]; 
     264    } 
    259265  } 
    260266   
  • gsdl/trunk/src/colservr/comtypes.h

    r15760 r15771  
    110110  text_tmap      public_documents;    // the acl to allow access to listed documents 
    111111  text_tmap      private_documents;   // the acl to disallow access to listed documents 
     112  text_tmap      dynamic_classifiers; 
    112113}; 
    113114