Changeset 14015


Ignore:
Timestamp:
04/18/07 10:15:45 (14 years ago)
Author:
qq6
Message:

added a method to close the database

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/userdb.h

    r13844 r14015  
    114114  // on success
    115115  int get_user_list (text_tarray &userlist);
     116
     117  //an alernative way to colse the database if the class can't reach the destructor
     118  void closedatabase();
    116119};
    117120
     
    143146  // use sparingly, it can be quite an expensive function
    144147  void remove_old_keys (int keydecay);
     148
     149 //an alernative way to colse the database if the class can't reach the destructor
     150  void closedatabase();
    145151};
    146152
Note: See TracChangeset for help on using the changeset viewer.