Changeset 15771 for gsdl


Ignore:
Timestamp:
2008-05-29T09:58:38+12:00 (16 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 edited

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
Note: See TracChangeset for help on using the changeset viewer.