X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Forigin.hpp;h=3038287ba437ec882e484e8d2d15ed756fe13f5e;hb=0ffe3085807575717988cf9ccbac846f43f6a46a;hp=4e735f8c1220f9ea3d36af5120a944457f4b87c5;hpb=09ce8a48eb9d2947cd019f9b8adb6513941c2211;p=metaproxy-moved-to-github.git diff --git a/src/origin.hpp b/src/origin.hpp index 4e735f8..3038287 100644 --- a/src/origin.hpp +++ b/src/origin.hpp @@ -1,5 +1,5 @@ /* This file is part of Metaproxy. - Copyright (C) 2005-2008 Index Data + Copyright (C) 2005-2009 Index Data Metaproxy is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -56,6 +56,9 @@ namespace metaproxy_1 { /// set max sockets (for outgoing connections to a given target) int get_max_sockets(); + + /// get tcpip address + std::string get_address(); private: friend std::ostream& std::operator<<(std::ostream& os, metaproxy_1::Origin& o); @@ -80,8 +83,9 @@ namespace metaproxy_1 { /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil - * c-file-style: "stroustrup" * End: * vim: shiftwidth=4 tabstop=8 expandtab */ +