/* Web Polygraph       http://www.web-polygraph.org/
 * (C) 2003-2006 The Measurement Factory
 * Licensed under the Apache License, Version 2.0 */

#ifndef POLYGRAPH__XSTD_GETIFADDRS_H
#define POLYGRAPH__XSTD_GETIFADDRS_H

#include "xstd/Array.h"
#include "xstd/Socket.h"

class InetIfReq;

// retreives a list of all interface addresses using SIOCGIFCONF
extern bool GetIfAddrs(Array<InetIfReq> &addrs, const String &ifname);

#endif


syntax highlighted by Code2HTML, v. 0.9.1