summaryrefslogtreecommitdiff
path: root/server/src/sessionserialiser.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/sessionserialiser.h')
-rw-r--r--server/src/sessionserialiser.h5
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);