summaryrefslogtreecommitdiff
path: root/src/include/address.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/address.h')
-rw-r--r--src/include/address.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/include/address.h b/src/include/address.h
new file mode 100644
index 0000000..a8aded9
--- /dev/null
+++ b/src/include/address.h
@@ -0,0 +1,29 @@
+/** --------------------------------------------------------------------
+ * @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:
+ 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);
+ };
+}
+
+#endif