|
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- |
|
2 * |
|
3 * This Source Code Form is subject to the terms of the Mozilla Public |
|
4 * License, v. 2.0. If a copy of the MPL was not distributed with this |
|
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
|
6 |
|
7 #include "nsISupports.idl" |
|
8 |
|
9 %{ C++ |
|
10 namespace mozilla { |
|
11 namespace net { |
|
12 union NetAddr; |
|
13 } |
|
14 } |
|
15 %} |
|
16 [ptr] native NetAddrPtr(mozilla::net::NetAddr); |
|
17 |
|
18 [scriptable, uuid(D5C0D1F9-22D7-47DC-BF91-D9AC6E1251A6)] |
|
19 interface nsISOCKSSocketInfo : nsISupports |
|
20 { |
|
21 [noscript] attribute NetAddrPtr destinationAddr; |
|
22 [noscript] attribute NetAddrPtr externalProxyAddr; |
|
23 [noscript] attribute NetAddrPtr internalProxyAddr; |
|
24 }; |