LCOV - app.info - objdir/dist/include/nsIPKCS11ModuleDB.h

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

           1                 : /*
           2                 :  * DO NOT EDIT.  THIS FILE IS GENERATED FROM /builds/slave/m-beta-lnx-codecoverage/build/security/manager/ssl/public/nsIPKCS11ModuleDB.idl
           3                 :  */
           4                 :
           5                 : #ifndef __gen_nsIPKCS11ModuleDB_h__
           6                 : #define __gen_nsIPKCS11ModuleDB_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 nsIPKCS11Module; /* forward declaration */
          18                 :
          19                 : class nsIPKCS11Slot; /* forward declaration */
          20                 :
          21                 : class nsIEnumerator; /* forward declaration */
          22                 :
          23                 : #define NS_PKCS11MODULEDB_CONTRACTID "@mozilla.org/security/pkcs11moduledb;1"
          24                 :
          25                 : /* starting interface:    nsIPKCS11ModuleDB */
          26                 : #define NS_IPKCS11MODULEDB_IID_STR "ff9fbcd7-9517-4334-b97a-ceed78909974"
          27                 :
          28                 : #define NS_IPKCS11MODULEDB_IID \
          29                 :   {0xff9fbcd7, 0x9517, 0x4334, \
          30                 :     { 0xb9, 0x7a, 0xce, 0xed, 0x78, 0x90, 0x99, 0x74 }}
          31                 :
          32              38 : class NS_NO_VTABLE NS_SCRIPTABLE nsIPKCS11ModuleDB : public nsISupports {
          33                 :  public:
          34                 :
          35                 :   NS_DECLARE_STATIC_IID_ACCESSOR(NS_IPKCS11MODULEDB_IID)
          36                 :
          37                 :   /* nsIPKCS11Module getInternal (); */
          38                 :   NS_SCRIPTABLE NS_IMETHOD GetInternal(nsIPKCS11Module * *_retval NS_OUTPARAM) = 0;
          39                 :
          40                 :   /* nsIPKCS11Module getInternalFIPS (); */
          41                 :   NS_SCRIPTABLE NS_IMETHOD GetInternalFIPS(nsIPKCS11Module * *_retval NS_OUTPARAM) = 0;
          42                 :
          43                 :   /* nsIPKCS11Module findModuleByName (in wstring name); */
          44                 :   NS_SCRIPTABLE NS_IMETHOD FindModuleByName(const PRUnichar * name, nsIPKCS11Module * *_retval NS_OUTPARAM) = 0;
          45                 :
          46                 :   /* nsIPKCS11Slot findSlotByName (in wstring name); */
          47                 :   NS_SCRIPTABLE NS_IMETHOD FindSlotByName(const PRUnichar * name, nsIPKCS11Slot * *_retval NS_OUTPARAM) = 0;
          48                 :
          49                 :   /* nsIEnumerator listModules (); */
          50                 :   NS_SCRIPTABLE NS_IMETHOD ListModules(nsIEnumerator * *_retval NS_OUTPARAM) = 0;
          51                 :
          52                 :   /* readonly attribute boolean canToggleFIPS; */
          53                 :   NS_SCRIPTABLE NS_IMETHOD GetCanToggleFIPS(bool *aCanToggleFIPS) = 0;
          54                 :
          55                 :   /* void toggleFIPSMode (); */
          56                 :   NS_SCRIPTABLE NS_IMETHOD ToggleFIPSMode(void) = 0;
          57                 :
          58                 :   /* readonly attribute boolean isFIPSEnabled; */
          59                 :   NS_SCRIPTABLE NS_IMETHOD GetIsFIPSEnabled(bool *aIsFIPSEnabled) = 0;
          60                 :
          61                 : };
          62                 :
          63                 :   NS_DEFINE_STATIC_IID_ACCESSOR(nsIPKCS11ModuleDB, NS_IPKCS11MODULEDB_IID)
          64                 :
          65                 : /* Use this macro when declaring classes that implement this interface. */
          66                 : #define NS_DECL_NSIPKCS11MODULEDB \
          67                 :   NS_SCRIPTABLE NS_IMETHOD GetInternal(nsIPKCS11Module * *_retval NS_OUTPARAM); \
          68                 :   NS_SCRIPTABLE NS_IMETHOD GetInternalFIPS(nsIPKCS11Module * *_retval NS_OUTPARAM); \
          69                 :   NS_SCRIPTABLE NS_IMETHOD FindModuleByName(const PRUnichar * name, nsIPKCS11Module * *_retval NS_OUTPARAM); \
          70                 :   NS_SCRIPTABLE NS_IMETHOD FindSlotByName(const PRUnichar * name, nsIPKCS11Slot * *_retval NS_OUTPARAM); \
          71                 :   NS_SCRIPTABLE NS_IMETHOD ListModules(nsIEnumerator * *_retval NS_OUTPARAM); \
          72                 :   NS_SCRIPTABLE NS_IMETHOD GetCanToggleFIPS(bool *aCanToggleFIPS); \
          73                 :   NS_SCRIPTABLE NS_IMETHOD ToggleFIPSMode(void); \
          74                 :   NS_SCRIPTABLE NS_IMETHOD GetIsFIPSEnabled(bool *aIsFIPSEnabled);
          75                 :
          76                 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
          77                 : #define NS_FORWARD_NSIPKCS11MODULEDB(_to) \
          78                 :   NS_SCRIPTABLE NS_IMETHOD GetInternal(nsIPKCS11Module * *_retval NS_OUTPARAM) { return _to GetInternal(_retval); } \
          79                 :   NS_SCRIPTABLE NS_IMETHOD GetInternalFIPS(nsIPKCS11Module * *_retval NS_OUTPARAM) { return _to GetInternalFIPS(_retval); } \
          80                 :   NS_SCRIPTABLE NS_IMETHOD FindModuleByName(const PRUnichar * name, nsIPKCS11Module * *_retval NS_OUTPARAM) { return _to FindModuleByName(name, _retval); } \
          81                 :   NS_SCRIPTABLE NS_IMETHOD FindSlotByName(const PRUnichar * name, nsIPKCS11Slot * *_retval NS_OUTPARAM) { return _to FindSlotByName(name, _retval); } \
          82                 :   NS_SCRIPTABLE NS_IMETHOD ListModules(nsIEnumerator * *_retval NS_OUTPARAM) { return _to ListModules(_retval); } \
          83                 :   NS_SCRIPTABLE NS_IMETHOD GetCanToggleFIPS(bool *aCanToggleFIPS) { return _to GetCanToggleFIPS(aCanToggleFIPS); } \
          84                 :   NS_SCRIPTABLE NS_IMETHOD ToggleFIPSMode(void) { return _to ToggleFIPSMode(); } \
          85                 :   NS_SCRIPTABLE NS_IMETHOD GetIsFIPSEnabled(bool *aIsFIPSEnabled) { return _to GetIsFIPSEnabled(aIsFIPSEnabled); }
          86                 :
          87                 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
          88                 : #define NS_FORWARD_SAFE_NSIPKCS11MODULEDB(_to) \
          89                 :   NS_SCRIPTABLE NS_IMETHOD GetInternal(nsIPKCS11Module * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInternal(_retval); } \
          90                 :   NS_SCRIPTABLE NS_IMETHOD GetInternalFIPS(nsIPKCS11Module * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInternalFIPS(_retval); } \
          91                 :   NS_SCRIPTABLE NS_IMETHOD FindModuleByName(const PRUnichar * name, nsIPKCS11Module * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->FindModuleByName(name, _retval); } \
          92                 :   NS_SCRIPTABLE NS_IMETHOD FindSlotByName(const PRUnichar * name, nsIPKCS11Slot * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->FindSlotByName(name, _retval); } \
          93                 :   NS_SCRIPTABLE NS_IMETHOD ListModules(nsIEnumerator * *_retval NS_OUTPARAM) { return !_to ? NS_ERROR_NULL_POINTER : _to->ListModules(_retval); } \
          94                 :   NS_SCRIPTABLE NS_IMETHOD GetCanToggleFIPS(bool *aCanToggleFIPS) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCanToggleFIPS(aCanToggleFIPS); } \
          95                 :   NS_SCRIPTABLE NS_IMETHOD ToggleFIPSMode(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->ToggleFIPSMode(); } \
          96                 :   NS_SCRIPTABLE NS_IMETHOD GetIsFIPSEnabled(bool *aIsFIPSEnabled) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsFIPSEnabled(aIsFIPSEnabled); }
          97                 :
          98                 : #if 0
          99                 : /* Use the code below as a template for the implementation class for this interface. */
         100                 :
         101                 : /* Header file */
         102                 : class nsPKCS11ModuleDB : public nsIPKCS11ModuleDB
         103                 : {
         104                 : public:
         105                 :   NS_DECL_ISUPPORTS
         106                 :   NS_DECL_NSIPKCS11MODULEDB
         107                 :
         108                 :   nsPKCS11ModuleDB();
         109                 :
         110                 : private:
         111                 :   ~nsPKCS11ModuleDB();
         112                 :
         113                 : protected:
         114                 :   /* additional members */
         115                 : };
         116                 :
         117                 : /* Implementation file */
         118                 : NS_IMPL_ISUPPORTS1(nsPKCS11ModuleDB, nsIPKCS11ModuleDB)
         119                 :
         120                 : nsPKCS11ModuleDB::nsPKCS11ModuleDB()
         121                 : {
         122                 :   /* member initializers and constructor code */
         123                 : }
         124                 :
         125                 : nsPKCS11ModuleDB::~nsPKCS11ModuleDB()
         126                 : {
         127                 :   /* destructor code */
         128                 : }
         129                 :
         130                 : /* nsIPKCS11Module getInternal (); */
         131                 : NS_IMETHODIMP nsPKCS11ModuleDB::GetInternal(nsIPKCS11Module * *_retval NS_OUTPARAM)
         132                 : {
         133                 :     return NS_ERROR_NOT_IMPLEMENTED;
         134                 : }
         135                 :
         136                 : /* nsIPKCS11Module getInternalFIPS (); */
         137                 : NS_IMETHODIMP nsPKCS11ModuleDB::GetInternalFIPS(nsIPKCS11Module * *_retval NS_OUTPARAM)
         138                 : {
         139                 :     return NS_ERROR_NOT_IMPLEMENTED;
         140                 : }
         141                 :
         142                 : /* nsIPKCS11Module findModuleByName (in wstring name); */
         143                 : NS_IMETHODIMP nsPKCS11ModuleDB::FindModuleByName(const PRUnichar * name, nsIPKCS11Module * *_retval NS_OUTPARAM)
         144                 : {
         145                 :     return NS_ERROR_NOT_IMPLEMENTED;
         146                 : }
         147                 :
         148                 : /* nsIPKCS11Slot findSlotByName (in wstring name); */
         149                 : NS_IMETHODIMP nsPKCS11ModuleDB::FindSlotByName(const PRUnichar * name, nsIPKCS11Slot * *_retval NS_OUTPARAM)
         150                 : {
         151                 :     return NS_ERROR_NOT_IMPLEMENTED;
         152                 : }
         153                 :
         154                 : /* nsIEnumerator listModules (); */
         155                 : NS_IMETHODIMP nsPKCS11ModuleDB::ListModules(nsIEnumerator * *_retval NS_OUTPARAM)
         156                 : {
         157                 :     return NS_ERROR_NOT_IMPLEMENTED;
         158                 : }
         159                 :
         160                 : /* readonly attribute boolean canToggleFIPS; */
         161                 : NS_IMETHODIMP nsPKCS11ModuleDB::GetCanToggleFIPS(bool *aCanToggleFIPS)
         162                 : {
         163                 :     return NS_ERROR_NOT_IMPLEMENTED;
         164                 : }
         165                 :
         166                 : /* void toggleFIPSMode (); */
         167                 : NS_IMETHODIMP nsPKCS11ModuleDB::ToggleFIPSMode()
         168                 : {
         169                 :     return NS_ERROR_NOT_IMPLEMENTED;
         170                 : }
         171                 :
         172                 : /* readonly attribute boolean isFIPSEnabled; */
         173                 : NS_IMETHODIMP nsPKCS11ModuleDB::GetIsFIPSEnabled(bool *aIsFIPSEnabled)
         174                 : {
         175                 :     return NS_ERROR_NOT_IMPLEMENTED;
         176                 : }
         177                 :
         178                 : /* End of implementation class template. */
         179                 : #endif
         180                 :
         181                 :
         182                 : #endif /* __gen_nsIPKCS11ModuleDB_h__ */

Generated by: LCOV version 1.7