PNativeDNSResolverOverride.ipdl (803B)
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ 2 /* vim: set sw=2 ts=8 et tw=80 ft=cpp : */ 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 protocol PSocketProcess; 8 9 namespace mozilla { 10 namespace net { 11 12 async protocol PNativeDNSResolverOverride 13 { 14 manager PSocketProcess; 15 16 child: 17 async __delete__(); 18 async AddIPOverride(nsCString aHost, nsCString aIPLiteral); 19 async AddHTTPSRecordOverride(nsCString aHost, uint8_t[] aData); 20 async SetCnameOverride(nsCString aHost, nsCString aCNAME); 21 async ClearHostOverride(nsCString aHost); 22 async ClearOverrides(); 23 }; 24 25 } //namespace net 26 } //namespace mozilla