nsISOCKSSocketInfo.idl 696 B

12345678910111213141516171819202122232425
  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. #include "nsISupports.idl"
  7. %{ C++
  8. namespace mozilla {
  9. namespace net {
  10. union NetAddr;
  11. }
  12. }
  13. %}
  14. [ptr] native NetAddrPtr(mozilla::net::NetAddr);
  15. [scriptable, uuid(D5C0D1F9-22D7-47DC-BF91-D9AC6E1251A6)]
  16. interface nsISOCKSSocketInfo : nsISupports
  17. {
  18. [noscript] attribute NetAddrPtr destinationAddr;
  19. [noscript] attribute NetAddrPtr externalProxyAddr;
  20. [noscript] attribute NetAddrPtr internalProxyAddr;
  21. };