- Timestamp:
- 2000-07-13T10:21:53+12:00 (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/New_Config_Format-branch/gsdl/src/recpt/receptionist.h
r864 r1279 34 34 #include "cgiargs.h" 35 35 #include "display.h" 36 #include "action.h"37 36 #include "browserclass.h" 38 37 #include "recptproto.h" 39 38 #include "converter.h" 40 39 #include "cfgread.h" 40 #include "action.h" 41 41 42 42 // the MACROPRECEDENCE macro is used as a default. override … … 51 51 52 52 53 struct collectioninfo_t { 54 void clear (); 55 collectioninfo_t () {clear();} 56 57 text_t gsdl_gsdlhome; 58 text_t gsdl_gdbmhome; 59 60 bool info_loaded; 61 ColInfoResponse_t info; 62 }; 63 64 typedef map<text_t, collectioninfo_t, lttext_t> colinfo_tmap; 65 66 53 67 struct recptconf { 54 68 text_t gsdlhome; … … 58 72 colinfo_tmap collectinfo; 59 73 text_t httpprefix; 60 text_t httpimg; 74 text_t httpimg; // will equal /images if not set 61 75 text_t gwcgi; 62 76 text_tset macrofiles; … … 71 85 recptconf () {clear();} 72 86 }; 73 74 87 75 88 class receptionist { … … 196 209 // list. This can be used to save preferences between sessions. 197 210 text_t get_compressed_arg (cgiargsclass &args, ostream &logout); 211 212 // gets collection info from cache if found or 213 // calls collection server (and updates cache) 214 // returns NULL if there's an error 215 ColInfoResponse_t *get_collectinfo_ptr (recptproto *collectproto, 216 const text_t &collection, 217 ostream &logout); 218 198 219 199 220 protected:
Note:
See TracChangeset
for help on using the changeset viewer.