Back to index

lightning-sunbird  0.9+nobinonly
Functions
nsFTPDirListingConv.cpp File Reference
#include "nsFTPDirListingConv.h"
#include "nsMemory.h"
#include "plstr.h"
#include "prlog.h"
#include "nsIAtom.h"
#include "nsIServiceManager.h"
#include "nsIGenericFactory.h"
#include "nsXPIDLString.h"
#include "nsReadableUtils.h"
#include "nsCOMPtr.h"
#include "nsEscape.h"
#include "nsNetUtil.h"
#include "nsIStringStream.h"
#include "nsILocaleService.h"
#include "nsIComponentManager.h"
#include "nsDateTimeFormatCID.h"
#include "nsIStreamListener.h"
#include "nsCRT.h"
#include "nsMimeTypes.h"
#include "nsAutoPtr.h"
#include "ParseFTPList.h"

Go to the source code of this file.

Functions

 NS_IMPL_THREADSAFE_ISUPPORTS3 (nsFTPDirListingConv, nsIStreamConverter, nsIStreamListener, nsIRequestObserver) NS_IMETHODIMP nsFTPDirListingConv
nsresult NS_NewFTPDirListingConv (nsFTPDirListingConv **aFTPDirListingConv)

Function Documentation

Definition at line 79 of file nsFTPDirListingConv.cpp.

Definition at line 420 of file nsFTPDirListingConv.cpp.

{
    NS_PRECONDITION(aFTPDirListingConv != nsnull, "null ptr");
    if (! aFTPDirListingConv)
        return NS_ERROR_NULL_POINTER;

    *aFTPDirListingConv = new nsFTPDirListingConv();
    if (! *aFTPDirListingConv)
        return NS_ERROR_OUT_OF_MEMORY;

    NS_ADDREF(*aFTPDirListingConv);
    return (*aFTPDirListingConv)->Init();
}

Here is the call graph for this function: