gecko-dev/netwerk/build/nsNetCID.h

163 строки
6.1 KiB
C

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* 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.
*
* The Original Code is mozilla.org code.
*
* The Initial Developer of the Original Code is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 2001 Netscape Communications Corporation. All
* Rights Reserved.
*
* Contributor(s):
* Darin Fisher <darin@netscape.com> (original author)
*/
#ifndef nsNetCID_h__
#define nsNetCID_h__
/******************************************************************************
* Cache CIDs
*/
#define NS_CACHESERVICE_CLASSNAME \
"Cache Service"
#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} \
}
/******************************************************************************
* Stream observer/listener/provider CIDs
*/
#define NS_STREAMOBSERVERPROXY_CLASSNAME \
"Stream Observer Proxy"
#define NS_STREAMOBSERVERPROXY_CONTRACTID \
"@mozilla.org/network/stream-observer-proxy;1"
#define NS_STREAMOBSERVERPROXY_CID \
{ /* 51fa28c7-74c0-4b85-9c46-d03faa7b696b */ \
0x51fa28c7, \
0x74c0, \
0x4b85, \
{0x9c, 0x46, 0xd0, 0x3f, 0xaa, 0x7b, 0x69, 0x6b} \
}
#define NS_STREAMLISTENERPROXY_CLASSNAME \
"Stream Listener Proxy"
#define NS_STREAMLISTENERPROXY_CONTRACTID \
"@mozilla.org/network/stream-listener-proxy;1"
#define NS_STREAMLISTENERPROXY_CID \
{ /* 96c48f15-aa8a-4da7-a9d5-e842bd76f015 */ \
0x96c48f15, \
0xaa8a, \
0x4da7, \
{0xa9, 0xd5, 0xe8, 0x42, 0xbd, 0x76, 0xf0, 0x15} \
}
#define NS_STREAMPROVIDERPROXY_CLASSNAME \
"Stream Provider Proxy"
#define NS_STREAMPROVIDERPROXY_CONTRACTID \
"@mozilla.org/network/stream-provider-proxy;1"
#define NS_STREAMPROVIDERPROXY_CID \
{ /* ae964fcf-9c27-40f7-9bbd-78894bfc1f31 */ \
0xae964fcf, \
0x9c27, \
0x40f7, \
{0x9b, 0xbd, 0x78, 0x89, 0x4b, 0xfc, 0x1f, 0x31} \
}
#define NS_SIMPLESTREAMLISTENER_CLASSNAME \
"Simple Stream Listener"
#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} \
}
#define NS_SIMPLESTREAMPROVIDER_CLASSNAME \
"Simple Stream Provider"
#define NS_SIMPLESTREAMPROVIDER_CONTRACTID \
"@mozilla.org/network/simple-stream-provider;1"
#define NS_SIMPLESTREAMPROVIDER_CID \
{ /* f9f6a519-4efb-4f36-af40-2a5ec3992710 */ \
0xf9f6a519, \
0x4efb, \
0x4f36, \
{0xaf, 0x40, 0x2a, 0x5e, 0xc3, 0x99, 0x27, 0x10} \
}
#define NS_ASYNCSTREAMOBSERVER_CLASSNAME \
"Async Stream Observer"
#define NS_ASYNCSTREAMOBSERVER_CONTRACTID \
"@mozilla.org/network/async-stream-observer;1"
#define NS_ASYNCSTREAMOBSERVER_CID \
{ /* fcc7c380-91b3-11d3-8cd9-0060b0fc14a3 */ \
0xfcc7c380, \
0x91b3, \
0x11d3, \
{0x8c, 0xd9, 0x00, 0x60, 0xb0, 0xfc, 0x14, 0xa3} \
}
#define NS_ASYNCSTREAMLISTENER_CLASSNAME \
"Async Stream Listener"
#define NS_ASYNCSTREAMLISTENER_CONTRACTID \
"@mozilla.org/network/async-stream-listener;1"
#define NS_ASYNCSTREAMLISTENER_CID \
{ /* 60047bb2-91c0-11d3-8cd9-0060b0fc14a3 */ \
0x60047bb2, \
0x91c0, \
0x11d3, \
{0x8c, 0xd9, 0x00, 0x60, 0xb0, 0xfc, 0x14, 0xa3} \
}
#define NS_STREAMLISTENERTEE_CLASSNAME \
"Stream Listener Tee"
#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} \
}
/******************************************************************************
* Transport CIDs
*/
#define NS_STORAGETRANSPORT_CLASSNAME \
"Storage Transport"
#define NS_STORAGETRANSPORT_CONTRACTID \
"@mozilla.org/network/storage-transport;1"
#define NS_STORAGETRANSPORT_CID \
{ /* 5e955cdb-1334-4b8f-86b5-3b0f4d54b9d2 */ \
0x5e955cdb, \
0x1334, \
0x4b8f, \
{0x86, 0xb5, 0x3b, 0x0f, 0x4d, 0x54, 0xb9, 0xd2} \
}
#endif /* !defined(nsNetCID_h__) */