From ecb574d32f4382326e94ad19e9d5baecc84a3c29 Mon Sep 17 00:00:00 2001 From: lloyd Date: Wed, 16 Jun 2010 00:52:24 +0000 Subject: More Doxygen comments --- src/ssl/tls_alerts.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/ssl') diff --git a/src/ssl/tls_alerts.h b/src/ssl/tls_alerts.h index cb7529021..f189cf507 100644 --- a/src/ssl/tls_alerts.h +++ b/src/ssl/tls_alerts.h @@ -18,11 +18,19 @@ namespace Botan { class BOTAN_DLL Alert { public: + /** + * @return if this alert is a fatal one or not + */ bool is_fatal() const { return fatal; } + + /** + * @return type of alert + */ Alert_Type type() const { return type_code; } /** * Deserialize an Alert message + * @param buf the serialized alert */ Alert(const MemoryRegion& buf) { -- cgit v1.2.3