netwerk/dns/PDNSRequestParams.ipdlh
author Ted Mielczarek <ted@mielczarek.org>
Tue, 08 Sep 2015 15:32:38 -0400
changeset 261869 673aec9df33d138692845be1e7eb68da72ab966a
parent 159921 3072c9af15b309f1814d6e55f6a7768134c1eeb2
child 437139 7aa742bff8fbae4338e258a4477d5397d0d6f7ad
permissions -rw-r--r--
bug 1202811 - Invoke mozharness with python 2.7 from build-linux.sh. r=dustin

/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim: set sw=2 ts=8 et tw=80 ft=cpp : */

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

using NetAddrArray from "mozilla/net/PDNSParams.h";

namespace mozilla {
namespace net {

//-----------------------------------------------------------------------------
// DNS IPDL structs
//-----------------------------------------------------------------------------

struct DNSRecord
{
  nsCString canonicalName;
  NetAddrArray addrs;
};

union DNSRequestResponse
{
  DNSRecord;
  nsresult;   // if error
};


} // namespace ipc
} // namespace mozilla