From 73b866e6a222640f842be1c5a2cadd34580c2be2 Mon Sep 17 00:00:00 2001 From: paulc Date: Thu, 4 Nov 2010 16:06:55 +0000 Subject: [PATCH] Added a missing Windows specific macro, fixed some documentation comments. git-svn-id: http://voip.null.ro/svn/yate@3792 acf43c95-373e-0410-b603-e72c3f656dc1 --- libs/yasn/yateasn.h | 6 +++--- libs/yrtp/yatertp.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libs/yasn/yateasn.h b/libs/yasn/yateasn.h index 46a52b84..d78d7689 100644 --- a/libs/yasn/yateasn.h +++ b/libs/yasn/yateasn.h @@ -61,7 +61,7 @@ class ASNError; * Helper class for operations with octet strings. Helps with conversions from String to/from DataBlock * @short Helper class for operations with octet strings */ -class OctetString : public DataBlock +class YASN_API OctetString : public DataBlock { public: /** @@ -90,7 +90,7 @@ public: * @return Hexified string */ inline const String toHexString() const - { + { String str; str = str.hexify(data(),length()); return str; @@ -100,7 +100,7 @@ public: * @return The DataBlock built from the given hexified string */ inline DataBlock& fromHexString(const String& value) - { + { unHexify(value,value.length()); return *this; } diff --git a/libs/yrtp/yatertp.h b/libs/yrtp/yatertp.h index e4d29ce3..0cdcee89 100644 --- a/libs/yrtp/yatertp.h +++ b/libs/yrtp/yatertp.h @@ -680,7 +680,7 @@ public: /** * Retrieve the statistical data from this receiver in a NamedList. Reset all the data. - * @param NamedList to populate with the values for different counters + * @param stat NamedList to populate with the values for different counters */ virtual void stats(NamedList& stat) const; @@ -813,7 +813,7 @@ public: /** * Retrieve the statistical data from this receiver in a NamedList. Reset all the data. - * @param NamedList to populate with the values for different counters + * @param stat NamedList to populate with the values for different counters */ virtual void stats(NamedList& stat) const;