summaryrefslogtreecommitdiff
path: root/src/include/address.h
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis@fehcom.de>2023-10-07 22:33:50 +0200
committerJannis M. Hoffmann <jannis@fehcom.de>2023-10-08 11:35:51 +0200
commit1978c49bea5b439d993067c055cec47e70db8fd6 (patch)
tree255caea96a13f95564e6b631be9a4ac55ce33cd9 /src/include/address.h
parent3b1278f5459514a6d6364f068ff97b8a0432057b (diff)
minor refactoring
Diffstat (limited to 'src/include/address.h')
-rw-r--r--src/include/address.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/include/address.h b/src/include/address.h
index a8aded9..6d0a6cd 100644
--- a/src/include/address.h
+++ b/src/include/address.h
@@ -1,26 +1,24 @@
-/** --------------------------------------------------------------------
+/**
* @file address.h
* @brief Declaration of the Address class.
* @author Andreas Aardal Hanssen
* @date 2002-2005
- * ----------------------------------------------------------------- **/
+ */
+
#ifndef address_h_included
#define address_h_included
+
#include <string>
namespace Binc {
- //------------------------------------------------------------------------
- class Address {
- public:
+ struct Address {
std::string name;
std::string local;
std::string host;
- //--
std::string toParenList(void) const;
- //--
Address(const std::string &name, const std::string &addr);
Address(const std::string &wholeaddr);
};