Changeset 1270 for trunk/gsdl/lib


Ignore:
Timestamp:
2000-07-06T09:49:36+12:00 (24 years ago)
Author:
sjboddie
Message:

Receptionist now caches collection information to avoid making multiple
get_collectinfo calls to collection server

Location:
trunk/gsdl/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/lib/cfgread.cpp

    r1076 r1270  
    2828/*
    2929   $Log$
     30   Revision 1.9  2000/07/05 21:49:22  sjboddie
     31   Receptionist now caches collection information to avoid making multiple
     32   get_collectinfo calls to collection server
     33
    3034   Revision 1.8  2000/04/06 19:57:57  cs025
    3135   Correcting a correction - reinstated all lib files due to silly
     
    5660
    5761#include "cfgread.h"
    58 
    59 void collectioninfo_t::clear () {
    60   gsdl_gsdlhome.clear();
    61   gsdl_gdbmhome.clear();
    62 }
    6362
    6463int write_ini_line (ofstream &fileout, const text_t &key, const text_t value) {
  • trunk/gsdl/lib/cfgread.h

    r1076 r1270  
    4141#endif
    4242
    43 struct collectioninfo_t {
    44   void clear ();
    45   collectioninfo_t () {clear();}
    46 
    47   text_t gsdl_gsdlhome;
    48   text_t gsdl_gdbmhome;
    49 };
    50 
    51 typedef map<text_t, collectioninfo_t, lttext_t> colinfo_tmap;
    52 
    5343// return 0 on success, -1 on failure
    5444int write_ini_line (ofstream &fileout, const text_t &key, const text_t value);
Note: See TracChangeset for help on using the changeset viewer.