diff options
author | deva <deva> | 2011-02-04 07:43:00 +0000 |
---|---|---|
committer | deva <deva> | 2011-02-04 07:43:00 +0000 |
commit | bfe5d3000182cb10db583fe42ffa7b48f84d8b5b (patch) | |
tree | 8b4228e258716267e854975df7f8a01294c89562 /server/src/sessionserialiser.h | |
parent | f825cb9f6f5a01f2029c79a363a89047b482c788 (diff) |
Session locking mechanism gone crazy. This needs a rewamp at some point.
Diffstat (limited to 'server/src/sessionserialiser.h')
-rw-r--r-- | server/src/sessionserialiser.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server/src/sessionserialiser.h b/server/src/sessionserialiser.h index f184d35..acc9ad6 100644 --- a/server/src/sessionserialiser.h +++ b/server/src/sessionserialiser.h @@ -36,9 +36,12 @@ class SessionSerialiser { public: SessionSerialiser(std::string path); - Session *loadStr(const std::string &xml, const std::string &sessionid); + Session *loadStr(const std::string &xml); std::string saveStr(Session *session); + Session *findFromTupple(const std::string &patientid, + const std::string &templ); + Session *load(const std::string &sessionid); void save(Session *session); |