michael@0: /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- michael@0: * michael@0: * This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include "nsISupports.idl" michael@0: michael@0: %{ C++ michael@0: namespace mozilla { michael@0: namespace net { michael@0: union NetAddr; michael@0: } michael@0: } michael@0: %} michael@0: [ptr] native NetAddrPtr(mozilla::net::NetAddr); michael@0: michael@0: [scriptable, uuid(D5C0D1F9-22D7-47DC-BF91-D9AC6E1251A6)] michael@0: interface nsISOCKSSocketInfo : nsISupports michael@0: { michael@0: [noscript] attribute NetAddrPtr destinationAddr; michael@0: [noscript] attribute NetAddrPtr externalProxyAddr; michael@0: [noscript] attribute NetAddrPtr internalProxyAddr; michael@0: };