Changeset 15649

Show
Ignore:
Timestamp:
22.05.2008 15:52:15 (11 years ago)
Author:
mdewsnip
Message:

(Adding new DB support) Changing second setinfo() to setkeydata(), to match getinfo()/getkeydata().

Location:
gsdl/trunk/lib
Files:
2 modified

Legend:

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

    r15646 r15649  
    253253  } 
    254254 
    255   return setinfo(key, data); 
    256 } 
    257  
    258  
    259 // returns true on success 
    260 bool gdbmclass::setinfo (const text_t &key, const text_t &data) 
     255  return setkeydata(key, data); 
     256} 
     257 
     258 
     259// returns true on success 
     260bool gdbmclass::setkeydata (const text_t &key, const text_t &data) 
    261261{ 
    262262  if (gdbmfile == NULL) return false; 
  • gsdl/trunk/lib/gdbmclass.h

    r15644 r15649  
    7676  // returns true on success 
    7777  bool setinfo (const text_t &key, const infodbclass &info); 
     78 
    7879  // returns true on success 
    79   bool setinfo (const text_t &key, const text_t &data); 
     80  bool setkeydata (const text_t &key, const text_t &data); 
    8081 
    8182protected: