aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-07-30 11:27:00 +0000
committerlloyd <[email protected]>2010-07-30 11:27:00 +0000
commit58be96ef4a9f3e88f077d4d44748ea167284247b (patch)
tree672fc33c5e2b98f0b411ddb24c4c7de706d0b9bd
parent7875d97cf2297230fe871ade61aa68a958512eb0 (diff)
Add name() function to DataSource_Stream for Filter interface
-rw-r--r--src/filters/data_snk.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/filters/data_snk.h b/src/filters/data_snk.h
index db0bfc858..509fdae20 100644
--- a/src/filters/data_snk.h
+++ b/src/filters/data_snk.h
@@ -33,6 +33,8 @@ class BOTAN_DLL DataSink : public Filter
class BOTAN_DLL DataSink_Stream : public DataSink
{
public:
+ std::string name() const { return identifier; }
+
void write(const byte[], u32bit);
/**