Ignore:
Timestamp:
2017-02-08T18:31:18+13:00 (7 years ago)
Author:
ak19
Message:

Round 1 of commits for getting OAI deletion policy to work with GS2 (server end). The perl code writing out the OAI db and the GS3 server code implementing the deletion policy had already been completed earlier (end 2016).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/colservr/browsefilter.h

    r15558 r31387  
    4141  text_t indexstem;
    4242  dbclass *db_ptr;
     43  text_t oaidb_filename;
     44  dbclass *oaidb_ptr;
    4345
    4446public:
     
    5052  virtual void configure (const text_t &key, const text_tarray &cfgline);
    5153
    52   // the db ptr remains the responsability of the calling code and
    53   // should be destroyed after this browsefilter is destroyed
     54  // the db ptr and oaidb ptr remain the responsibility of the calling code and should
     55  // be destroyed after this browsefilter is destroyed (source.h class destroys these)
    5456  void set_db_ptr (dbclass *db_ptr_arg) { db_ptr = db_ptr_arg; }
     57  void set_oaidb_ptr (dbclass *oaidb_ptr_arg) { oaidb_ptr = oaidb_ptr_arg; }
    5558
    5659  bool init (ostream &logout);
     
    5962           FilterResponse_t &response,
    6063           comerror_t &err, ostream &logout);
     64
     65 protected:
     66  bool get_oaiinf_db_entries(FilterResponse_t &response,
     67                 comerror_t &err, ostream &logout);
    6168};
    6269
Note: See TracChangeset for help on using the changeset viewer.