/[projects]/misc/serverspy/dnshelper.h
ViewVC logotype

Contents of /misc/serverspy/dnshelper.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 328 - (show annotations) (download)
Wed Sep 16 20:13:41 2009 UTC (14 years, 8 months ago) by torben
File MIME type: text/plain
File size: 916 byte(s)
Added some old code for storage/ reference


1 /***************************************************************************
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

  ViewVC Help
Powered by ViewVC 1.1.20