1 |
torben |
328 |
/*************************************************************************** |
2 |
|
|
* Copyright (C) 2003 by Torben Nielsen * |
3 |
|
|
* torben.nielsen@rocketmail.com * |
4 |
|
|
* * |
5 |
|
|
* This program is free software; you can redistribute it and/or modify * |
6 |
|
|
* it under the terms of the GNU General Public License as published by * |
7 |
|
|
* the Free Software Foundation; either version 2 of the License, or * |
8 |
|
|
* (at your option) any later version. * |
9 |
|
|
***************************************************************************/ |
10 |
|
|
#ifndef DNSHELPERDNSHELPER_H |
11 |
|
|
#define DNSHELPERDNSHELPER_H |
12 |
|
|
|
13 |
|
|
|
14 |
|
|
|
15 |
|
|
|
16 |
|
|
#include <string> |
17 |
|
|
|
18 |
|
|
namespace DnsHelper { |
19 |
|
|
|
20 |
|
|
std::string getIp(const std::string& hostname); |
21 |
|
|
|
22 |
|
|
std::string getHostname(const std::string& ipaddress); |
23 |
|
|
|
24 |
|
|
} |
25 |
|
|
|
26 |
|
|
#endif |