Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions
nsFTPChannel.cpp File Reference
#include "nsFTPChannel.h"
#include "nsIStreamListener.h"
#include "nsIServiceManager.h"
#include "nsNetUtil.h"
#include "nsMimeTypes.h"
#include "nsIProxyObjectManager.h"
#include "nsReadableUtils.h"
#include "nsIPrefService.h"
#include "nsIPrefBranch.h"
#include "nsIStreamConverterService.h"
#include "nsISocketTransport.h"
#include "nsURLHelper.h"

Go to the source code of this file.

Defines

#define NowInSeconds()   PRTimeToSeconds(PR_Now())

Functions

static PRUint32 PRTimeToSeconds (PRTime t_usec)

Define Documentation

Definition at line 69 of file nsFTPChannel.cpp.


Function Documentation

static PRUint32 PRTimeToSeconds ( PRTime  t_usec) [inline, static]

Definition at line 59 of file nsFTPChannel.cpp.

{
    PRTime usec_per_sec;
    PRUint32 t_sec;
    LL_I2L(usec_per_sec, PR_USEC_PER_SEC);
    LL_DIV(t_usec, t_usec, usec_per_sec);
    LL_L2I(t_sec, t_usec);
    return t_sec;
}

Here is the caller graph for this function: