- Timestamp:
- 2017-08-18T19:28:42+12:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/runtime-src/src/colservr/comtypes.h
r31387 r31903 48 48 #endif 49 49 50 51 const text_t OAI_EARLIESTTIMESTAMP_OID = "earliesttimestamp"; 52 // https://www.tutorialspoint.com/cplusplus/cpp_constants_literals.htm 50 53 51 54 enum comerror_t {noError, authenticationFailure, protocolError, … … 113 116 text_tmap dynamic_classifiers; 114 117 text_t earliestDatestamp; // For OAIserver validation. Time since linux Epoch, expressed as (long) integer value in string form 118 // This field stored the builddate value from a collection's index/build.cfg file. 119 // This field earliestDatestamp was used when oaiaction.calcEarliestDatestamp() needed to 120 // determine the earliest timestamp of the repository, by selecting the earliestDatestamp among 121 // all oai collections. Now it's no longer used by OAI, as that resorts to consulting oai-inf.db 122 // of each collection, which has a collection's earliest timestamp stored, to work out the 123 // earliest timestamp among all collections. But the build.cfg builddate stored in the 124 // earliestDatestamp field may still be useful in future for some purpose, so leaving it alone. 125 115 126 }; 116 127
Note:
See TracChangeset
for help on using the changeset viewer.