Changeset 5d836bde01291d90fa3c62d9841ee1084afa3ff7 for db/db.hh
- Timestamp:
- 08/16/10 20:39:35 (21 months ago)
- Children:
- 563ece2aeca700b9245bc2ac709c7fd346fea911
- Parents:
- 994811461679afe70ab81e079fd87191d609be9d
- git-committer:
- Antti-Juhani Kaijanaho <antti-juhani@…> (08/16/10 20:39:35)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
db/db.hh
r19beb87 r5d836bd 105 105 } 106 106 107 void update_users_email(boost::shared_ptr<user> u,108 std::string od, std::string nw) {109 boost::lock_guard<boost::recursive_mutex> lg(mt);110 if (users_email[od] == u) users_email[od].reset();111 users_email[nw] = u;112 }113 114 107 boost::shared_ptr<role> create_role(std::string name, 115 108 std::string description); … … 145 138 void do_article(db_detail::db_reader &, std::string); 146 139 void do_role(db_detail::db_reader &, std::string); 140 void read_record(db_detail::db_reader &dr, 141 boost::posix_time::ptime); 147 142 void register_role(boost::shared_ptr<role>); 148 143 };
