aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/serialise.hh
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2020-09-13 14:39:11 +0200
committerRobert Hensing <robert@roberthensing.nl>2020-09-17 20:21:04 +0200
commit29c82ccc77714a74e8948ce8c531de5a8d870176 (patch)
tree297197aa68cd1740b3ec000e3af1b83a179a1fe2 /src/libutil/serialise.hh
parent9ee3122ec71ae43f5cd8bf0a9282777ba17342c5 (diff)
Add Source.drainInto(Sink)
Diffstat (limited to 'src/libutil/serialise.hh')
-rw-r--r--src/libutil/serialise.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libutil/serialise.hh b/src/libutil/serialise.hh
index 6f4f4c855..2fd06bb4d 100644
--- a/src/libutil/serialise.hh
+++ b/src/libutil/serialise.hh
@@ -69,6 +69,8 @@ struct Source
virtual bool good() { return true; }
+ void drainInto(Sink & sink);
+
std::string drain();
};