summaryrefslogtreecommitdiff
path: root/src/include/address.h
blob: 6d0a6cdc087c5fd6152a1572e8c0db00942bf15b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/**
 *  @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 {

  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);
  };
}

#endif