Ignore:
Timestamp:
2008-05-22T15:26:18+12:00 (16 years ago)
Author:
mdewsnip
Message:

(Adding new DB support) Added new getkeydata() function so a sqlitedbclass can be used for the history.db file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/lib/sqlitedbclass.h

    r15642 r15643  
    3939
    4040  // returns true if opened
    41   bool opendatabase (const text_t &filename, int mode, int num_retrys,
    42              bool need_filelock);
     41  bool opendatabase (const text_t &filename, int mode, int num_retrys, bool need_filelock);
    4342
    4443  void closedatabase ();
     
    5251  bool getinfo (const text_t& key, infodbclass &info);
    5352
     53  // returns true on success
     54  bool getkeydata (const text_t& key, text_t &data);
     55
    5456  // returns array of keys
    5557  text_tarray getkeys ();
     
    6264  sqlite3* sqlitefile;
    6365
    64   bool getinfoline (text_t::iterator &here, text_t::iterator end,
    65             text_t &key, text_t &value);
     66  bool getinfoline (text_t::iterator &here, text_t::iterator end, text_t &key, text_t &value);
    6667
    6768  bool sqlexec (const text_t &sql_cmd);
Note: See TracChangeset for help on using the changeset viewer.