LCOV - code coverage report
Current view: directory - objdir/dist/include - nsINSSCertCache.h (source / functions) Found Hit Coverage
Test: app.info Lines: 1 0 0.0 %
Date: 2012-06-02 Functions: 1 0 0.0 %

       1                 : /*
       2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/security/manager/ssl/public/nsINSSCertCache.idl
       3                 :  */
       4                 : 
       5                 : #ifndef __gen_nsINSSCertCache_h__
       6                 : #define __gen_nsINSSCertCache_h__
       7                 : 
       8                 : 
       9                 : #ifndef __gen_nsISupports_h__
      10                 : #include "nsISupports.h"
      11                 : #endif
      12                 : 
      13                 : /* For IDL files that don't want to include root IDL files. */
      14                 : #ifndef NS_NO_VTABLE
      15                 : #define NS_NO_VTABLE
      16                 : #endif
      17                 : class nsIX509CertList; /* forward declaration */
      18                 : 
      19                 : 
      20                 : /* starting interface:    nsINSSCertCache */
      21                 : #define NS_INSSCERTCACHE_IID_STR "1b75bdae-1757-4322-9d1e-cfcaa18cb710"
      22                 : 
      23                 : #define NS_INSSCERTCACHE_IID \
      24                 :   {0x1b75bdae, 0x1757, 0x4322, \
      25                 :     { 0x9d, 0x1e, 0xcf, 0xca, 0xa1, 0x8c, 0xb7, 0x10 }}
      26                 : 
      27               0 : class NS_NO_VTABLE NS_SCRIPTABLE nsINSSCertCache : public nsISupports {
      28                 :  public: 
      29                 : 
      30                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_INSSCERTCACHE_IID)
      31                 : 
      32                 :   /* void cacheAllCerts (); */
      33                 :   NS_SCRIPTABLE NS_IMETHOD CacheAllCerts(void) = 0;
      34                 : 
      35                 :   /* void cacheCertList (in nsIX509CertList list); */
      36                 :   NS_SCRIPTABLE NS_IMETHOD CacheCertList(nsIX509CertList *list) = 0;
      37                 : 
      38                 :   /* nsIX509CertList getX509CachedCerts (); */
      39                 :   NS_SCRIPTABLE NS_IMETHOD GetX509CachedCerts(nsIX509CertList * *_retval NS_OUTPARAM) = 0;
      40                 : 
      41                 :   /* [noscript,notxpcom] voidPtr getCachedCerts (); */
      42                 :   NS_IMETHOD_(void *) GetCachedCerts(void) = 0;
      43                 : 
      44                 : };
      45                 : 
      46                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsINSSCertCache, NS_INSSCERTCACHE_IID)
      47                 : 
      48                 : /* Use this macro when declaring classes that implement this interface. */
      49                 : #define NS_DECL_NSINSSCERTCACHE \
      50                 :   NS_SCRIPTABLE NS_IMETHOD CacheAllCerts(void); \
      51                 :   NS_SCRIPTABLE NS_IMETHOD CacheCertList(nsIX509CertList *list); \
      52                 :   NS_SCRIPTABLE NS_IMETHOD GetX509CachedCerts(nsIX509CertList * *_retval NS_OUTPARAM); \
      53                 :   NS_IMETHOD_(void *) GetCachedCerts(void); 
      54                 : 
      55                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
      56                 : #define NS_FORWARD_NSINSSCERTCACHE(_to) \
      57                 :   NS_SCRIPTABLE NS_IMETHOD CacheAllCerts(void) { return _to CacheAllCerts(); } \
      58                 :   NS_SCRIPTABLE NS_IMETHOD CacheCertList(nsIX509CertList *list) { return _to CacheCertList(list); } \
      59                 :   NS_SCRIPTABLE NS_IMETHOD GetX509CachedCerts(nsIX509CertList * *_retval NS_OUTPARAM) { return _to GetX509CachedCerts(_retval); } \
      60                 :   NS_IMETHOD_(void *) GetCachedCerts(void) { return _to GetCachedCerts(); } 
      61                 : 
      62                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
      63                 : #define NS_FORWARD_SAFE_NSINSSCERTCACHE(_to) \
      64                 :   NS_SCRIPTABLE NS_IMETHOD CacheAllCerts(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->CacheAllCerts(); } \
      65                 :   NS_SCRIPTABLE NS_IMETHOD CacheCertList(nsIX509CertList *list) { return !_to ? NS_ERROR_NULL_POINTER : _to->CacheCertList(list); } \
      66                 :   NS_SCRIPTABLE NS_IMETHOD GetX509CachedCerts(nsIX509CertList * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetX509CachedCerts(_retval); } \
      67                 :   NS_IMETHOD_(void *) GetCachedCerts(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCachedCerts(); } 
      68                 : 
      69                 : #if 0
      70                 : /* Use the code below as a template for the implementation class for this interface. */
      71                 : 
      72                 : /* Header file */
      73                 : class nsNSSCertCache : public nsINSSCertCache
      74                 : {
      75                 : public:
      76                 :   NS_DECL_ISUPPORTS
      77                 :   NS_DECL_NSINSSCERTCACHE
      78                 : 
      79                 :   nsNSSCertCache();
      80                 : 
      81                 : private:
      82                 :   ~nsNSSCertCache();
      83                 : 
      84                 : protected:
      85                 :   /* additional members */
      86                 : };
      87                 : 
      88                 : /* Implementation file */
      89                 : NS_IMPL_ISUPPORTS1(nsNSSCertCache, nsINSSCertCache)
      90                 : 
      91                 : nsNSSCertCache::nsNSSCertCache()
      92                 : {
      93                 :   /* member initializers and constructor code */
      94                 : }
      95                 : 
      96                 : nsNSSCertCache::~nsNSSCertCache()
      97                 : {
      98                 :   /* destructor code */
      99                 : }
     100                 : 
     101                 : /* void cacheAllCerts (); */
     102                 : NS_IMETHODIMP nsNSSCertCache::CacheAllCerts()
     103                 : {
     104                 :     return NS_ERROR_NOT_IMPLEMENTED;
     105                 : }
     106                 : 
     107                 : /* void cacheCertList (in nsIX509CertList list); */
     108                 : NS_IMETHODIMP nsNSSCertCache::CacheCertList(nsIX509CertList *list)
     109                 : {
     110                 :     return NS_ERROR_NOT_IMPLEMENTED;
     111                 : }
     112                 : 
     113                 : /* nsIX509CertList getX509CachedCerts (); */
     114                 : NS_IMETHODIMP nsNSSCertCache::GetX509CachedCerts(nsIX509CertList * *_retval NS_OUTPARAM)
     115                 : {
     116                 :     return NS_ERROR_NOT_IMPLEMENTED;
     117                 : }
     118                 : 
     119                 : /* [noscript,notxpcom] voidPtr getCachedCerts (); */
     120                 : NS_IMETHODIMP_(void *) nsNSSCertCache::GetCachedCerts()
     121                 : {
     122                 :     return NS_ERROR_NOT_IMPLEMENTED;
     123                 : }
     124                 : 
     125                 : /* End of implementation class template. */
     126                 : #endif
     127                 : 
     128                 : 
     129                 : #define NS_NSSCERTCACHE_CID { /* 3f429a14-dffe-417d-8cb8-fdf09bacd09e */ \
     130                 :     0x3f429a14,                                                          \
     131                 :     0xdffe,                                                              \
     132                 :     0x417d,                                                              \
     133                 :     {0x8c, 0xb8, 0xfd, 0xf0, 0x9b, 0xac, 0xd0, 0x9e}                     \
     134                 :   }
     135                 : #define NS_NSSCERTCACHE_CONTRACTID "@mozilla.org/security/nsscertcache;1"
     136                 : 
     137                 : #endif /* __gen_nsINSSCertCache_h__ */

Generated by: LCOV version 1.7