зеркало из https://github.com/mozilla/gecko-dev.git
43 строки
1.4 KiB
Plaintext
43 строки
1.4 KiB
Plaintext
|
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 4 -*-
|
||
|
*
|
||
|
* The contents of this file are subject to the Netscape Public License
|
||
|
* Version 1.0 (the "NPL"); you may not use this file except in
|
||
|
* compliance with the NPL. You may obtain a copy of the NPL at
|
||
|
* http://www.mozilla.org/NPL/
|
||
|
*
|
||
|
* Software distributed under the NPL is distributed on an "AS IS" basis,
|
||
|
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
|
||
|
* for the specific language governing rights and limitations under the
|
||
|
* NPL.
|
||
|
*
|
||
|
* The Initial Developer of this code under the NPL is Netscape
|
||
|
* Communications Corporation. Portions created by Netscape are
|
||
|
* Copyright (C) 1999 Netscape Communications Corporation. All Rights
|
||
|
* Reserved.
|
||
|
*/
|
||
|
|
||
|
#include "nsISupports.idl"
|
||
|
|
||
|
%{C++
|
||
|
|
||
|
#define NS_DNSSERVICE_CID \
|
||
|
{ /* 718e7c81-f8b8-11d2-b951-c80918051d3c */ \
|
||
|
0x718e7c81, \
|
||
|
0xf8b8, \
|
||
|
0x11d2, \
|
||
|
{ 0xb9, 0x51, 0xc8, 0x09, 0x18, 0x05, 0x1d, 0x3c } \
|
||
|
}
|
||
|
|
||
|
%}
|
||
|
|
||
|
interface nsIRequest;
|
||
|
interface nsIDNSListener;
|
||
|
|
||
|
[scriptable, uuid(598f2f80-206f-11d3-9348-00104ba0fd40)]
|
||
|
interface nsIDNSService : nsISupports
|
||
|
{
|
||
|
nsIRequest Lookup(in nsISupports ctxt, in string hostname,
|
||
|
in nsIDNSListener listener);
|
||
|
};
|
||
|
|