Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines
nsHostResolver.h File Reference
#include "nscore.h"
#include "pratom.h"
#include "prcvar.h"
#include "prclist.h"
#include "prnetdb.h"
#include "pldhash.h"
#include "nsISupportsImpl.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  nsHostKey
class  nsHostRecord
 nsHostRecord - ref counted object type stored in host resolver cache. More...
protocol  NS_NO_VTABLE
 Private interface implemented by the nsXFormsUtilityService in XForms extension. More...
class  nsHostResolver
 nsHostResolver - an asynchronous host name resolver. More...



Define Documentation

private:                                                \
    nsAutoRefCnt _refc;                                   \
  public:                                                 \
    PRInt32 AddRef() {                                    \
        return PR_AtomicIncrement((PRInt32*)&_refc);      \
    }                                                     \
    PRInt32 Release() {                                   \
        PRInt32 n = PR_AtomicDecrement((PRInt32*)&_refc); \
        if (n == 0)                                       \
            delete this;                                  \
        return n;                                         \

Definition at line 54 of file nsHostResolver.h.