NS_NewSyncStreamListener(nsIInputStream **inStream, nsIOutputStream **outStream, nsIStreamListener **listener)
NS_NewSyncStreamListener(nsIInputStream **aInStream, nsIOutputStream **aOutStream, nsIStreamListener **aResult)
NS_NewSyncStreamListener(nsIInputStream **inStream,                          nsIOutputStream **outStream,                         nsIStreamListener **listener){    nsresult rv;    nsCOMPtr<nsISyncStreamListener> lsnr;    static NS_DEFINE_CID(kSyncStreamListenerCID, NS_SYNCSTREAMLISTENER_CID);    rv = nsComponentManager::CreateInstance(kSyncStreamListenerCID,                                            nsnull,                                             NS_GET_IID(nsISyncStreamListener),                                            getter_AddRefs(lsnr));    if (NS_FAILED(rv)) return rv;    rv = lsnr->Init(inStream, outStream);    if (NS_FAILED(rv)) return rv;    *listener = lsnr;    NS_ADDREF(*listener);    return NS_OK;}