PDNSRequestParams.ipdlh 743 B

12345678910111213141516171819202122232425262728293031
  1. /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
  2. /* This Source Code Form is subject to the terms of the Mozilla Public
  3. * License, v. 2.0. If a copy of the MPL was not distributed with this
  4. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  5. using NetAddrArray from "mozilla/net/PDNSParams.h";
  6. namespace mozilla {
  7. namespace net {
  8. //-----------------------------------------------------------------------------
  9. // DNS IPDL structs
  10. //-----------------------------------------------------------------------------
  11. struct DNSRecord
  12. {
  13. nsCString canonicalName;
  14. NetAddrArray addrs;
  15. };
  16. union DNSRequestResponse
  17. {
  18. DNSRecord;
  19. nsresult; // if error
  20. };
  21. } // namespace ipc
  22. } // namespace mozilla