1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/netwerk/dns/PDNSRequestParams.ipdlh Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,31 @@ 1.4 +/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 1.5 +/* vim: set sw=2 ts=8 et tw=80 ft=cpp : */ 1.6 + 1.7 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.8 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.9 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.10 + 1.11 +using NetAddrArray from "mozilla/net/PDNSParams.h"; 1.12 + 1.13 +namespace mozilla { 1.14 +namespace net { 1.15 + 1.16 +//----------------------------------------------------------------------------- 1.17 +// DNS IPDL structs 1.18 +//----------------------------------------------------------------------------- 1.19 + 1.20 +struct DNSRecord 1.21 +{ 1.22 + nsCString canonicalName; 1.23 + NetAddrArray addrs; 1.24 +}; 1.25 + 1.26 +union DNSRequestResponse 1.27 +{ 1.28 + DNSRecord; 1.29 + nsresult; // if error 1.30 +}; 1.31 + 1.32 + 1.33 +} // namespace ipc 1.34 +} // namespace mozilla