2001-03-08 03:58:06 +03:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
|
2001-09-29 00:14:13 +04:00
|
|
|
/* ***** BEGIN LICENSE BLOCK *****
|
|
|
|
* Version: NPL 1.1/GPL 2.0/LGPL 2.1
|
2001-03-08 03:58:06 +03:00
|
|
|
*
|
2001-09-29 00:14:13 +04:00
|
|
|
* The contents of this file are subject to the Netscape Public License
|
|
|
|
* Version 1.1 (the "License"); you may not use this file except in
|
|
|
|
* compliance with the License. You may obtain a copy of the License at
|
|
|
|
* http://www.mozilla.org/NPL/
|
|
|
|
*
|
|
|
|
* Software distributed under the License is distributed on an "AS IS" basis,
|
|
|
|
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
|
|
* for the specific language governing rights and limitations under the
|
|
|
|
* License.
|
2001-03-08 03:58:06 +03:00
|
|
|
*
|
|
|
|
* The Original Code is mozilla.org code.
|
|
|
|
*
|
2001-09-29 00:14:13 +04:00
|
|
|
* The Initial Developer of the Original Code is
|
|
|
|
* Netscape Communications Corporation.
|
|
|
|
* Portions created by the Initial Developer are Copyright (C) 2001
|
|
|
|
* the Initial Developer. All Rights Reserved.
|
2001-03-08 03:58:06 +03:00
|
|
|
*
|
|
|
|
* Contributor(s):
|
|
|
|
* Darin Fisher <darin@netscape.com> (original author)
|
2001-09-29 00:14:13 +04:00
|
|
|
*
|
|
|
|
* Alternatively, the contents of this file may be used under the terms of
|
|
|
|
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
|
|
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
* in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
* of those above. If you wish to allow use of your version of this file only
|
|
|
|
* under the terms of either the GPL or the LGPL, and not to allow others to
|
|
|
|
* use your version of this file under the terms of the NPL, indicate your
|
|
|
|
* decision by deleting the provisions above and replace them with the notice
|
|
|
|
* and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
* the provisions above, a recipient may use your version of this file under
|
|
|
|
* the terms of any one of the NPL, the GPL or the LGPL.
|
|
|
|
*
|
|
|
|
* ***** END LICENSE BLOCK ***** */
|
2001-03-08 03:58:06 +03:00
|
|
|
|
2001-01-24 01:10:34 +03:00
|
|
|
#ifndef nsNetCID_h__
|
|
|
|
#define nsNetCID_h__
|
|
|
|
|
2001-03-08 03:58:06 +03:00
|
|
|
|
|
|
|
/******************************************************************************
|
2001-04-10 10:01:08 +04:00
|
|
|
* netwerk/base/ classes
|
2001-03-08 03:58:06 +03:00
|
|
|
*/
|
|
|
|
|
2002-05-03 11:49:43 +04:00
|
|
|
// service implementing nsIIOService.
|
2001-04-10 10:01:08 +04:00
|
|
|
#define NS_IOSERVICE_CLASSNAME \
|
2002-05-03 11:49:43 +04:00
|
|
|
"nsIOService"
|
2001-04-10 10:01:08 +04:00
|
|
|
#define NS_IOSERVICE_CONTRACTID \
|
|
|
|
"@mozilla.org/network/io-service;1"
|
|
|
|
#define NS_IOSERVICE_CID \
|
|
|
|
{ /* 9ac9e770-18bc-11d3-9337-00104ba0fd40 */ \
|
|
|
|
0x9ac9e770, \
|
|
|
|
0x18bc, \
|
|
|
|
0x11d3, \
|
|
|
|
{0x93, 0x37, 0x00, 0x10, 0x4b, 0xa0, 0xfd, 0x40} \
|
2001-02-24 05:44:43 +03:00
|
|
|
}
|
|
|
|
|
2002-05-03 11:49:43 +04:00
|
|
|
// component implementing nsILoadGroup.
|
2001-04-10 10:01:08 +04:00
|
|
|
#define NS_LOADGROUP_CLASSNAME \
|
2002-05-03 11:49:43 +04:00
|
|
|
"nsLoadGroup"
|
2001-04-10 10:01:08 +04:00
|
|
|
#define NS_LOADGROUP_CONTRACTID \
|
|
|
|
"@mozilla.org/network/load-group;1"
|
|
|
|
#define NS_LOADGROUP_CID \
|
|
|
|
{ /* e1c61582-2a84-11d3-8cce-0060b0fc14a3 */ \
|
|
|
|
0xe1c61582, \
|
|
|
|
0x2a84, \
|
|
|
|
0x11d3, \
|
|
|
|
{0x8c, 0xce, 0x00, 0x60, 0xb0, 0xfc, 0x14, 0xa3} \
|
|
|
|
}
|
2001-02-24 05:44:43 +03:00
|
|
|
|
2002-10-06 06:20:35 +04:00
|
|
|
// component implementing nsIURI, nsISerializable, and nsIClassInfo.
|
2001-04-10 10:01:08 +04:00
|
|
|
#define NS_SIMPLEURI_CLASSNAME \
|
2002-05-03 11:49:43 +04:00
|
|
|
"nsSimpleURI"
|
2001-04-10 10:01:08 +04:00
|
|
|
#define NS_SIMPLEURI_CONTRACTID \
|
|
|
|
"@mozilla.org/network/simple-uri;1"
|
|
|
|
#define NS_SIMPLEURI_CID \
|
|
|
|
{ /* e0da1d70-2f7b-11d3-8cd0-0060b0fc14a3 */ \
|
|
|
|
0xe0da1d70, \
|
|
|
|
0x2f7b, \
|
|
|
|
0x11d3, \
|
|
|
|
{0x8c, 0xd0, 0x00, 0x60, 0xb0, 0xfc, 0x14, 0xa3} \
|
|
|
|
}
|
2001-03-08 03:58:06 +03:00
|
|
|
|
2002-10-06 06:20:35 +04:00
|
|
|
// component implementing nsIStandardURL, nsIURI, nsIURL, nsISerializable,
|
|
|
|
// and nsIClassInfo.
|
2001-04-10 10:01:08 +04:00
|
|
|
#define NS_STANDARDURL_CLASSNAME \
|
2001-11-16 05:09:13 +03:00
|
|
|
"nsStandardURL"
|
2001-04-10 10:01:08 +04:00
|
|
|
#define NS_STANDARDURL_CONTRACTID \
|
|
|
|
"@mozilla.org/network/standard-url;1"
|
|
|
|
#define NS_STANDARDURL_CID \
|
|
|
|
{ /* de9472d0-8034-11d3-9399-00104ba0fd40 */ \
|
|
|
|
0xde9472d0, \
|
|
|
|
0x8034, \
|
|
|
|
0x11d3, \
|
|
|
|
{0x93, 0x99, 0x00, 0x10, 0x4b, 0xa0, 0xfd, 0x40} \
|
|
|
|
}
|
|
|
|
|
2002-05-03 11:49:43 +04:00
|
|
|
// service implementing nsIURLParser that assumes the URL will NOT contain an
|
2001-11-16 05:09:13 +03:00
|
|
|
// authority section.
|
|
|
|
#define NS_NOAUTHURLPARSER_CLASSNAME \
|
|
|
|
"nsNoAuthURLParser"
|
|
|
|
#define NS_NOAUTHURLPARSER_CONTRACTID \
|
|
|
|
"@mozilla.org/network/url-parser;1?auth=no"
|
|
|
|
#define NS_NOAUTHURLPARSER_CID \
|
|
|
|
{ /* 78804a84-8173-42b6-bb94-789f0816a810 */ \
|
|
|
|
0x78804a84, \
|
|
|
|
0x8173, \
|
|
|
|
0x42b6, \
|
|
|
|
{0xbb, 0x94, 0x78, 0x9f, 0x08, 0x16, 0xa8, 0x10} \
|
|
|
|
}
|
|
|
|
|
2002-05-03 11:49:43 +04:00
|
|
|
// service implementing nsIURLParser that assumes the URL will contain an
|
2001-11-16 05:09:13 +03:00
|
|
|
// authority section.
|
|
|
|
#define NS_AUTHURLPARSER_CLASSNAME \
|
|
|
|
"nsAuthURLParser"
|
|
|
|
#define NS_AUTHURLPARSER_CONTRACTID \
|
|
|
|
"@mozilla.org/network/url-parser;1?auth=yes"
|
|
|
|
#define NS_AUTHURLPARSER_CID \
|
|
|
|
{ /* 275d800e-3f60-4896-adb7-d7f390ce0e42 */ \
|
|
|
|
0x275d800e, \
|
|
|
|
0x3f60, \
|
|
|
|
0x4896, \
|
|
|
|
{0xad, 0xb7, 0xd7, 0xf3, 0x90, 0xce, 0x0e, 0x42} \
|
|
|
|
}
|
|
|
|
|
2002-05-03 11:49:43 +04:00
|
|
|
// service implementing nsIURLParser that does not make any assumptions about
|
2001-11-16 05:09:13 +03:00
|
|
|
// whether or not the URL contains an authority section.
|
|
|
|
#define NS_STDURLPARSER_CLASSNAME \
|
|
|
|
"nsStdURLParser"
|
|
|
|
#define NS_STDURLPARSER_CONTRACTID \
|
|
|
|
"@mozilla.org/network/url-parser;1?auth=maybe"
|
|
|
|
#define NS_STDURLPARSER_CID \
|
|
|
|
{ /* ff41913b-546a-4bff-9201-dc9b2c032eba */ \
|
|
|
|
0xff41913b, \
|
|
|
|
0x546a, \
|
|
|
|
0x4bff, \
|
|
|
|
{0x92, 0x01, 0xdc, 0x9b, 0x2c, 0x03, 0x2e, 0xba} \
|
|
|
|
}
|
|
|
|
|
2002-05-03 11:49:43 +04:00
|
|
|
// component implementing nsIRequestObserverProxy.
|
2001-04-10 10:01:08 +04:00
|
|
|
#define NS_REQUESTOBSERVERPROXY_CLASSNAME \
|
2002-05-03 11:49:43 +04:00
|
|
|
"nsRequestObserverProxy"
|
2001-04-10 10:01:08 +04:00
|
|
|
#define NS_REQUESTOBSERVERPROXY_CONTRACTID \
|
|
|
|
"@mozilla.org/network/request-observer-proxy;1"
|
|
|
|
#define NS_REQUESTOBSERVERPROXY_CID \
|
2001-01-24 01:10:34 +03:00
|
|
|
{ /* 51fa28c7-74c0-4b85-9c46-d03faa7b696b */ \
|
|
|
|
0x51fa28c7, \
|
|
|
|
0x74c0, \
|
|
|
|
0x4b85, \
|
|
|
|
{0x9c, 0x46, 0xd0, 0x3f, 0xaa, 0x7b, 0x69, 0x6b} \
|
|
|
|
}
|
|
|
|
|
2002-05-03 11:49:43 +04:00
|
|
|
// component implementing nsISimpleStreamListener.
|
2001-01-24 01:10:34 +03:00
|
|
|
#define NS_SIMPLESTREAMLISTENER_CLASSNAME \
|
2002-05-03 11:49:43 +04:00
|
|
|
"nsSimpleStreamListener"
|
2001-01-24 01:10:34 +03:00
|
|
|
#define NS_SIMPLESTREAMLISTENER_CONTRACTID \
|
|
|
|
"@mozilla.org/network/simple-stream-listener;1"
|
|
|
|
#define NS_SIMPLESTREAMLISTENER_CID \
|
|
|
|
{ /* fb8cbf4e-4701-4ba1-b1d6-5388e041fb67 */ \
|
|
|
|
0xfb8cbf4e, \
|
|
|
|
0x4701, \
|
|
|
|
0x4ba1, \
|
|
|
|
{0xb1, 0xd6, 0x53, 0x88, 0xe0, 0x41, 0xfb, 0x67} \
|
|
|
|
}
|
|
|
|
|
2002-05-03 11:49:43 +04:00
|
|
|
// DEPRECATED component implementing nsIAsyncStreamListener.
|
2001-03-08 03:58:06 +03:00
|
|
|
#define NS_ASYNCSTREAMLISTENER_CLASSNAME \
|
2002-05-03 11:49:43 +04:00
|
|
|
"nsAsyncStreamListener"
|
2001-03-08 03:58:06 +03:00
|
|
|
#define NS_ASYNCSTREAMLISTENER_CONTRACTID \
|
|
|
|
"@mozilla.org/network/async-stream-listener;1"
|
2001-01-24 01:10:34 +03:00
|
|
|
#define NS_ASYNCSTREAMLISTENER_CID \
|
|
|
|
{ /* 60047bb2-91c0-11d3-8cd9-0060b0fc14a3 */ \
|
|
|
|
0x60047bb2, \
|
|
|
|
0x91c0, \
|
|
|
|
0x11d3, \
|
|
|
|
{0x8c, 0xd9, 0x00, 0x60, 0xb0, 0xfc, 0x14, 0xa3} \
|
|
|
|
}
|
|
|
|
|
2002-05-03 11:49:43 +04:00
|
|
|
// component implementing nsIStreamListenerTee.
|
2001-03-08 03:58:06 +03:00
|
|
|
#define NS_STREAMLISTENERTEE_CLASSNAME \
|
2002-05-03 11:49:43 +04:00
|
|
|
"nsStreamListenerTee"
|
2001-03-08 03:58:06 +03:00
|
|
|
#define NS_STREAMLISTENERTEE_CONTRACTID \
|
|
|
|
"@mozilla.org/network/stream-listener-tee;1"
|
|
|
|
#define NS_STREAMLISTENERTEE_CID \
|
|
|
|
{ /* 831f8f13-7aa8-485f-b02e-77c881cc5773 */ \
|
|
|
|
0x831f8f13, \
|
|
|
|
0x7aa8, \
|
|
|
|
0x485f, \
|
|
|
|
{0xb0, 0x2e, 0x77, 0xc8, 0x81, 0xcc, 0x57, 0x73} \
|
|
|
|
}
|
|
|
|
|
2003-01-18 05:15:14 +03:00
|
|
|
// component implementing nsIAsyncStreamCopier.
|
|
|
|
#define NS_ASYNCSTREAMCOPIER_CLASSNAME \
|
|
|
|
"nsAsyncStreamCopier"
|
|
|
|
#define NS_ASYNCSTREAMCOPIER_CONTRACTID \
|
|
|
|
"@mozilla.org/network/async-stream-copier;1"
|
|
|
|
#define NS_ASYNCSTREAMCOPIER_CID \
|
|
|
|
{ /* e746a8b1-c97a-4fc5-baa4-66607521bd08 */ \
|
|
|
|
0xe746a8b1, \
|
|
|
|
0xc97a, \
|
|
|
|
0x4fc5, \
|
|
|
|
{0xba, 0xa4, 0x66, 0x60, 0x75, 0x21, 0xbd, 0x08} \
|
|
|
|
}
|
|
|
|
|
|
|
|
// component implementing nsIInputStreamPump.
|
|
|
|
#define NS_INPUTSTREAMPUMP_CLASSNAME \
|
|
|
|
"nsInputStreamPump"
|
|
|
|
#define NS_INPUTSTREAMPUMP_CONTRACTID \
|
|
|
|
"@mozilla.org/network/input-stream-pump;1"
|
|
|
|
#define NS_INPUTSTREAMPUMP_CID \
|
|
|
|
{ /* ccd0e960-7947-4635-b70e-4c661b63d675 */ \
|
|
|
|
0xccd0e960, \
|
|
|
|
0x7947, \
|
|
|
|
0x4635, \
|
|
|
|
{0xb7, 0x0e, 0x4c, 0x66, 0x1b, 0x63, 0xd6, 0x75} \
|
|
|
|
}
|
|
|
|
|
|
|
|
// component implementing nsIInputStreamChannel.
|
|
|
|
#define NS_INPUTSTREAMCHANNEL_CLASSNAME \
|
2002-05-03 11:49:43 +04:00
|
|
|
"nsInputStreamChannel"
|
2003-01-18 05:15:14 +03:00
|
|
|
#define NS_INPUTSTREAMCHANNEL_CONTRACTID \
|
|
|
|
"@mozilla.org/network/input-stream-channel;1"
|
|
|
|
#define NS_INPUTSTREAMCHANNEL_CID \
|
2001-04-10 10:01:08 +04:00
|
|
|
{ /* 6ddb050c-0d04-11d4-986e-00c04fa0cf4a */ \
|
|
|
|
0x6ddb050c, \
|
|
|
|
0x0d04, \
|
|
|
|
0x11d4, \
|
|
|
|
{0x98, 0x6e, 0x00, 0xc0, 0x4f, 0xa0, 0xcf, 0x4a} \
|
|
|
|
}
|
|
|
|
|
2002-05-03 11:49:43 +04:00
|
|
|
// component implementing nsIStreamLoader.
|
|
|
|
#define NS_STREAMLOADER_CLASSNAME \
|
|
|
|
"nsStreamLoader"
|
|
|
|
#define NS_STREAMLOADER_CONTRACTID \
|
|
|
|
"@mozilla.org/network/stream-loader;1"
|
|
|
|
#define NS_STREAMLOADER_CID \
|
|
|
|
{ /* 5BA6D920-D4E9-11d3-A1A5-0050041CAF44 */ \
|
|
|
|
0x5ba6d920, \
|
|
|
|
0xd4e9, \
|
|
|
|
0x11d3, \
|
|
|
|
{ 0xa1, 0xa5, 0x0, 0x50, 0x4, 0x1c, 0xaf, 0x44 } \
|
|
|
|
}
|
|
|
|
|
2002-08-28 03:47:25 +04:00
|
|
|
// component implementing nsIUnicharStreamLoader.
|
|
|
|
#define NS_UNICHARSTREAMLOADER_CLASSNAME \
|
|
|
|
"nsUnicharStreamLoader"
|
|
|
|
#define NS_UNICHARSTREAMLOADER_CONTRACTID \
|
|
|
|
"@mozilla.org/network/unichar-stream-loader;1"
|
|
|
|
#define NS_UNICHARSTREAMLOADER_CID \
|
|
|
|
{ /* 9445791f-fa4c-4669-b174-df5032bb67b3 */ \
|
|
|
|
0x9445791f, \
|
|
|
|
0xfa4c, \
|
|
|
|
0x4669, \
|
|
|
|
{ 0xb1, 0x74, 0xdf, 0x50, 0x32, 0xbb, 0x67, 0xb3 } \
|
|
|
|
}
|
|
|
|
|
2002-05-03 11:49:43 +04:00
|
|
|
// component implementing nsIDownloader.
|
2001-04-17 14:47:22 +04:00
|
|
|
#define NS_DOWNLOADER_CLASSNAME \
|
2002-05-03 11:49:43 +04:00
|
|
|
"nsDownloader"
|
2001-04-17 14:47:22 +04:00
|
|
|
#define NS_DOWNLOADER_CONTRACTID \
|
|
|
|
"@mozilla.org/network/downloader;1"
|
|
|
|
#define NS_DOWNLOADER_CID \
|
|
|
|
{ /* 510a86bb-6019-4ed1-bb4f-965cffd23ece */ \
|
|
|
|
0x510a86bb, \
|
|
|
|
0x6019, \
|
|
|
|
0x4ed1, \
|
|
|
|
{0xbb, 0x4f, 0x96, 0x5c, 0xff, 0xd2, 0x3e, 0xce} \
|
|
|
|
}
|
|
|
|
|
2002-05-03 11:49:43 +04:00
|
|
|
// component implementing nsIURIChecker.
|
2001-10-03 04:40:10 +04:00
|
|
|
#define NS_URICHECKER_CLASSNAME \
|
2002-05-03 11:49:43 +04:00
|
|
|
"nsURIChecker"
|
2001-10-03 04:40:10 +04:00
|
|
|
#define NS_URICHECKER_CONTRACT_ID \
|
|
|
|
"@mozilla.org/network/urichecker;1"
|
|
|
|
#define NS_URICHECKER_CID \
|
|
|
|
{ /* cf3a0e06-1dd1-11b2-a904-ac1d6da77a02 */ \
|
|
|
|
0xcf3a0e06, \
|
|
|
|
0x1dd1, \
|
|
|
|
0x11b2, \
|
|
|
|
{0xa9, 0x04, 0xac, 0x1d, 0x6d, 0xa7, 0x7a, 0x02} \
|
|
|
|
}
|
|
|
|
|
2002-05-03 11:49:43 +04:00
|
|
|
// component implementing nsIResumableEntityID
|
2002-02-14 06:10:19 +03:00
|
|
|
#define NS_RESUMABLEENTITYID_CLASSNAME \
|
2002-05-03 11:49:43 +04:00
|
|
|
"nsResumableEntityID"
|
2002-02-14 06:10:19 +03:00
|
|
|
#define NS_RESUMABLEENTITYID_CONTRACTID \
|
|
|
|
"@mozilla.org/network/resumable-entity-id;1"
|
|
|
|
#define NS_RESUMABLEENTITYID_CID \
|
|
|
|
{ /* e744a9a6-1dd1-11b2-b95c-e5d67a34e6b3 */ \
|
|
|
|
0xe744a9a6, \
|
|
|
|
0x1d11, \
|
|
|
|
0x11b2, \
|
|
|
|
{0xb9, 0x5c, 0xe5, 0xd6, 0x7a, 0x34, 0xe6, 0xb3} \
|
|
|
|
}
|
2001-04-10 10:01:08 +04:00
|
|
|
|
2003-01-18 05:15:14 +03:00
|
|
|
// service implementing nsIStreamTransportService
|
|
|
|
#define NS_STREAMTRANSPORTSERVICE_CLASSNAME \
|
|
|
|
"nsStreamTransportService"
|
|
|
|
#define NS_STREAMTRANSPORTSERVICE_CONTRACTID \
|
|
|
|
"@mozilla.org/network/stream-transport-service;1"
|
|
|
|
#define NS_STREAMTRANSPORTSERVICE_CID \
|
|
|
|
{ /* 0885d4f8-f7b8-4cda-902e-94ba38bc256e */ \
|
|
|
|
0x0885d4f8, \
|
|
|
|
0xf7b8, \
|
|
|
|
0x4cda, \
|
|
|
|
{0x90, 0x2e, 0x94, 0xba, 0x38, 0xbc, 0x25, 0x6e} \
|
|
|
|
}
|
|
|
|
|
|
|
|
// service implementing nsISocketTransportService
|
|
|
|
#define NS_SOCKETTRANSPORTSERVICE_CLASSNAME \
|
|
|
|
"nsSocketTransportService"
|
|
|
|
#define NS_SOCKETTRANSPORTSERVICE_CONTRACTID \
|
|
|
|
"@mozilla.org/network/socket-transport-service;1"
|
|
|
|
#define NS_SOCKETTRANSPORTSERVICE_CID \
|
|
|
|
{ /* c07e81e0-ef12-11d2-92b6-00105a1b0d64 */ \
|
|
|
|
0xc07e81e0, \
|
|
|
|
0xef12, \
|
|
|
|
0x11d2, \
|
|
|
|
{0x92, 0xb6, 0x00, 0x10, 0x5a, 0x1b, 0x0d, 0x64} \
|
|
|
|
}
|
|
|
|
|
|
|
|
#define NS_FILETRANSPORTSERVICE_CLASSNAME \
|
|
|
|
"nsFileTransportService"
|
|
|
|
#define NS_FILETRANSPORTSERVICE_CONTRACTID \
|
|
|
|
"@mozilla.org/network/file-transport-service;1"
|
|
|
|
#define NS_FILETRANSPORTSERVICE_CID \
|
|
|
|
{ /* 2bb2b250-ea35-11d2-931b-00104ba0fd40 */ \
|
|
|
|
0x2bb2b250, \
|
|
|
|
0xea35, \
|
|
|
|
0x11d2, \
|
|
|
|
{0x93, 0x1b, 0x00, 0x10, 0x4b, 0xa0, 0xfd, 0x40} \
|
|
|
|
}
|
|
|
|
|
|
|
|
#define NS_LOCALFILEINPUTSTREAM_CLASSNAME \
|
|
|
|
"nsFileInputStream"
|
|
|
|
#define NS_LOCALFILEINPUTSTREAM_CONTRACTID \
|
|
|
|
"@mozilla.org/network/file-input-stream;1"
|
|
|
|
#define NS_LOCALFILEINPUTSTREAM_CID \
|
|
|
|
{ /* be9a53ae-c7e9-11d3-8cda-0060b0fc14a3 */ \
|
|
|
|
0xbe9a53ae, \
|
|
|
|
0xc7e9, \
|
|
|
|
0x11d3, \
|
|
|
|
{0x8c, 0xda, 0x00, 0x60, 0xb0, 0xfc, 0x14, 0xa3} \
|
|
|
|
}
|
|
|
|
|
|
|
|
#define NS_LOCALFILEOUTPUTSTREAM_CLASSNAME \
|
|
|
|
"nsFileOutputStream"
|
|
|
|
#define NS_LOCALFILEOUTPUTSTREAM_CONTRACTID \
|
|
|
|
"@mozilla.org/network/file-output-stream;1"
|
|
|
|
#define NS_LOCALFILEOUTPUTSTREAM_CID \
|
|
|
|
{ /* c272fee0-c7e9-11d3-8cda-0060b0fc14a3 */ \
|
|
|
|
0xc272fee0, \
|
|
|
|
0xc7e9, \
|
|
|
|
0x11d3, \
|
|
|
|
{0x8c, 0xda, 0x00, 0x60, 0xb0, 0xfc, 0x14, 0xa3} \
|
|
|
|
}
|
|
|
|
|
|
|
|
#define NS_BUFFEREDINPUTSTREAM_CLASSNAME \
|
|
|
|
"nsBufferedInputStream"
|
|
|
|
#define NS_BUFFEREDINPUTSTREAM_CONTRACTID \
|
|
|
|
"@mozilla.org/network/buffered-input-stream;1"
|
|
|
|
#define NS_BUFFEREDINPUTSTREAM_CID \
|
|
|
|
{ /* 9226888e-da08-11d3-8cda-0060b0fc14a3 */ \
|
|
|
|
0x9226888e, \
|
|
|
|
0xda08, \
|
|
|
|
0x11d3, \
|
|
|
|
{0x8c, 0xda, 0x00, 0x60, 0xb0, 0xfc, 0x14, 0xa3} \
|
|
|
|
}
|
|
|
|
|
|
|
|
#define NS_BUFFEREDOUTPUTSTREAM_CLASSNAME \
|
|
|
|
"nsBufferedOutputStream"
|
|
|
|
#define NS_BUFFEREDOUTPUTSTREAM_CONTRACTID \
|
|
|
|
"@mozilla.org/network/buffered-output-stream;1"
|
|
|
|
#define NS_BUFFEREDOUTPUTSTREAM_CID \
|
|
|
|
{ /* 9868b4ce-da08-11d3-8cda-0060b0fc14a3 */ \
|
|
|
|
0x9868b4ce, \
|
|
|
|
0xda08, \
|
|
|
|
0x11d3, \
|
|
|
|
{0x8c, 0xda, 0x00, 0x60, 0xb0, 0xfc, 0x14, 0xa3} \
|
|
|
|
}
|
|
|
|
|
2002-05-03 11:49:43 +04:00
|
|
|
|
2001-04-10 10:01:08 +04:00
|
|
|
/******************************************************************************
|
|
|
|
* netwerk/cache/ classes
|
|
|
|
*/
|
|
|
|
|
2002-05-03 11:49:43 +04:00
|
|
|
// service implementing nsICacheService.
|
2001-04-10 10:01:08 +04:00
|
|
|
#define NS_CACHESERVICE_CLASSNAME \
|
2002-05-03 11:49:43 +04:00
|
|
|
"nsCacheService"
|
2001-04-10 10:01:08 +04:00
|
|
|
#define NS_CACHESERVICE_CONTRACTID \
|
|
|
|
"@mozilla.org/network/cache-service;1"
|
|
|
|
#define NS_CACHESERVICE_CID \
|
|
|
|
{ /* 6c84aec9-29a5-4264-8fbc-bee8f922ea67 */ \
|
|
|
|
0x6c84aec9, \
|
|
|
|
0x29a5, \
|
|
|
|
0x4264, \
|
|
|
|
{0x8f, 0xbc, 0xbe, 0xe8, 0xf9, 0x22, 0xea, 0x67} \
|
|
|
|
}
|
|
|
|
|
2001-05-12 01:04:09 +04:00
|
|
|
|
|
|
|
/******************************************************************************
|
|
|
|
* netwerk/protocol/http/ classes
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define NS_HTTPPROTOCOLHANDLER_CID \
|
|
|
|
{ /* 4f47e42e-4d23-4dd3-bfda-eb29255e9ea3 */ \
|
|
|
|
0x4f47e42e, \
|
|
|
|
0x4d23, \
|
|
|
|
0x4dd3, \
|
|
|
|
{0xbf, 0xda, 0xeb, 0x29, 0x25, 0x5e, 0x9e, 0xa3} \
|
|
|
|
}
|
|
|
|
|
2002-08-14 00:33:45 +04:00
|
|
|
#define NS_HTTPSPROTOCOLHANDLER_CID \
|
|
|
|
{ /* dccbe7e4-7750-466b-a557-5ea36c8ff24e */ \
|
|
|
|
0xdccbe7e4, \
|
|
|
|
0x7750, \
|
|
|
|
0x466b, \
|
|
|
|
{0xa5, 0x57, 0x5e, 0xa3, 0x6c, 0x8f, 0xf2, 0x4e} \
|
|
|
|
}
|
|
|
|
|
2001-05-12 01:04:09 +04:00
|
|
|
#define NS_HTTPBASICAUTH_CID \
|
|
|
|
{ /* fca3766a-434a-4ae7-83cf-0909e18a093a */ \
|
|
|
|
0xfca3766a, \
|
|
|
|
0x434a, \
|
|
|
|
0x4ae7, \
|
|
|
|
{0x83, 0xcf, 0x09, 0x09, 0xe1, 0x8a, 0x09, 0x3a} \
|
|
|
|
}
|
|
|
|
|
2001-12-05 04:09:38 +03:00
|
|
|
#define NS_HTTPDIGESTAUTH_CID \
|
|
|
|
{ /* 17491ba4-1dd2-11b2-aae3-de6b92dab620 */ \
|
|
|
|
0x17491ba4, \
|
|
|
|
0x1dd2, \
|
|
|
|
0x11b2, \
|
|
|
|
{0xaa, 0xe3, 0xde, 0x6b, 0x92, 0xda, 0xb6, 0x20} \
|
|
|
|
}
|
2001-05-12 01:04:09 +04:00
|
|
|
|
2001-09-20 05:32:16 +04:00
|
|
|
/******************************************************************************
|
|
|
|
* netwerk/protocol/res/ classes
|
|
|
|
*/
|
|
|
|
|
2003-01-18 05:15:14 +03:00
|
|
|
#define NS_RESPROTOCOLHANDLER_CLASSNAME \
|
|
|
|
"nsResProtocolHandler"
|
2001-09-20 05:32:16 +04:00
|
|
|
#define NS_RESPROTOCOLHANDLER_CID \
|
|
|
|
{ /* e64f152a-9f07-11d3-8cda-0060b0fc14a3 */ \
|
|
|
|
0xe64f152a, \
|
|
|
|
0x9f07, \
|
|
|
|
0x11d3, \
|
|
|
|
{0x8c, 0xda, 0x00, 0x60, 0xb0, 0xfc, 0x14, 0xa3} \
|
|
|
|
}
|
|
|
|
|
2003-01-18 05:15:14 +03:00
|
|
|
/******************************************************************************
|
|
|
|
* netwerk/protocol/file/ classes
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define NS_FILEPROTOCOLHANDLER_CLASSNAME \
|
|
|
|
"nsFileProtocolHandler"
|
|
|
|
#define NS_FILEPROTOCOLHANDLER_CID \
|
|
|
|
{ /* fbc81170-1f69-11d3-9344-00104ba0fd40 */ \
|
|
|
|
0xfbc81170, \
|
|
|
|
0x1f69, \
|
|
|
|
0x11d3, \
|
|
|
|
{0x93, 0x44, 0x00, 0x10, 0x4b, 0xa0, 0xfd, 0x40} \
|
|
|
|
}
|
|
|
|
|
|
|
|
/******************************************************************************
|
|
|
|
* netwerk/protocol/data/ classes
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define NS_DATAPROTOCOLHANDLER_CLASSNAME \
|
|
|
|
"nsDataProtocolHandler"
|
|
|
|
#define NS_DATAPROTOCOLHANDLER_CID \
|
|
|
|
{ /* {B6ED3030-6183-11d3-A178-0050041CAF44} */ \
|
|
|
|
0xb6ed3030, \
|
|
|
|
0x6183, \
|
|
|
|
0x11d3, \
|
|
|
|
{0xa1, 0x78, 0x00, 0x50, 0x04, 0x1c, 0xaf, 0x44} \
|
|
|
|
}
|
|
|
|
|
|
|
|
/******************************************************************************
|
|
|
|
* netwerk/protocol/data/ classes
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define NS_JARPROTOCOLHANDLER_CLASSNAME \
|
|
|
|
"nsJarProtocolHandler"
|
|
|
|
#define NS_JARPROTOCOLHANDLER_CID \
|
|
|
|
{ /* 0xc7e410d4-0x85f2-11d3-9f63-006008a6efe9 */ \
|
|
|
|
0xc7e410d4, \
|
|
|
|
0x85f2, \
|
|
|
|
0x11d3, \
|
|
|
|
{0x9f, 0x63, 0x00, 0x60, 0x08, 0xa6, 0xef, 0xe9} \
|
|
|
|
}
|
|
|
|
|
2001-09-20 05:32:16 +04:00
|
|
|
|
2001-10-05 11:50:21 +04:00
|
|
|
/******************************************************************************
|
|
|
|
* netwerk/dns/ classes
|
|
|
|
*/
|
|
|
|
|
2002-09-27 03:30:18 +04:00
|
|
|
#define NS_IDNSERVICE_CLASSNAME \
|
|
|
|
"nsIDNService"
|
2001-10-05 11:50:21 +04:00
|
|
|
/* ContractID of the XPCOM package that implements nsIIDNService */
|
|
|
|
#define NS_IDNSERVICE_CONTRACTID \
|
2002-09-27 03:30:18 +04:00
|
|
|
"@mozilla.org/network/idn-service;1"
|
|
|
|
#define NS_IDNSERVICE_CID \
|
|
|
|
{ /* 62b778a6-bce3-456b-8c31-2865fbb68c91 */ \
|
|
|
|
0x62b778a6, \
|
|
|
|
0xbce3, \
|
|
|
|
0x456b, \
|
|
|
|
{0x8c, 0x31, 0x28, 0x65, 0xfb, 0xb6, 0x8c, 0x91} \
|
|
|
|
}
|
2001-10-05 11:50:21 +04:00
|
|
|
|
2001-05-12 01:04:09 +04:00
|
|
|
#endif // nsNetCID_h__
|