diff options
author | lloyd <[email protected]> | 2010-06-16 00:52:24 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-06-16 00:52:24 +0000 |
commit | ecb574d32f4382326e94ad19e9d5baecc84a3c29 (patch) | |
tree | 55e98453b046e8553bc21fc2153939032718bbec /src/ssl | |
parent | b1405ff3191a4343d098c513af157d831723b92d (diff) |
More Doxygen comments
Diffstat (limited to 'src/ssl')
-rw-r--r-- | src/ssl/tls_alerts.h | 8 |
1 files changed, 8 insertions, 0 deletions
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<byte>& buf) { |