Module: Miscellaneous
Definition in file PKIFdll.h.
#include "config.h"
#include <string>
#include <limits>
#include "PKIFString.h"
#include "boost/shared_ptr.hpp"
#include "pkif_shared_ptr.hpp"

Go to the source code of this file.
| Classes | |
| class | PKIFAlloc< T > | 
| struct | PKIFAlloc< T >::rebind< U > | 
| Defines | |
| #define | NO_LOKI 1 | 
| #define | USING_NAMESPACE(x) using namespace x; | 
| #define | BEGIN_NAMESPACE(x) namespace x { | 
| #define | ANONYMOUS_NAMESPACE_BEGIN namespace { | 
| #define | END_NAMESPACE } | 
| #define | CAC_NO_VTABLE | 
| #define | CAC_API | 
| #define | EXPIMP_TEMPLATE extern | 
| #define | CAC_TEST_API | 
| #define | DECLARE_SMART_POINTERS(c) typedef boost::shared_ptr<c> c##Ptr; | 
| #define | FD_SMART_PTR(c) | 
| #define | FD_LIST_PTR(c) | 
| #define | FD_NODE_LIST_PTR(c) | 
| #define | FD_CRL_NODE_LIST_PTR(c) | 
| #define | FD_MC_PTR() | 
| Functions | |
| void * | PKIFNew (size_t size) | 
| void | PKIFDelete (void *p) | 
| template<class T1, class T2> | |
| bool | operator== (const PKIFAlloc< T1 > &, const PKIFAlloc< T2 > &) throw () | 
| template<class T1, class T2> | |
| bool | operator!= (const PKIFAlloc< T1 > &, const PKIFAlloc< T2 > &) throw () | 
| #define DECLARE_SMART_POINTERS | ( | c | ) | typedef boost::shared_ptr<c> c##Ptr; | 
| #define FD_CRL_NODE_LIST_PTR | ( | c | ) | 
Value:
class c; \ FD_SMART_PTR(c); \ typedef std::vector<c##Ptr, PKIFAlloc<c##Ptr> > CPKIFCRLNodeList; \ DECLARE_SMART_POINTERS(CPKIFCRLNodeList)
| #define FD_LIST_PTR | ( | c | ) | 
Value:
class c; \ FD_SMART_PTR(c); \ typedef std::vector<c##Ptr, PKIFAlloc<c##Ptr> > c##List; \ DECLARE_SMART_POINTERS(c##List)
| FD_MC_PTR | ( | ) | 
Value:
FD_SMART_PTR(IPKIFColleague); \ typedef IPKIFColleague IPKIFMediator; \ typedef boost::shared_ptr<IPKIFMediator> IPKIFMediatorPtr
| #define FD_NODE_LIST_PTR | ( | c | ) | 
Value:
class c; \ FD_SMART_PTR(c); \ typedef std::vector<c##Ptr, PKIFAlloc<c##Ptr> > CPKIFCertificateNodeList; \ DECLARE_SMART_POINTERS(CPKIFCertificateNodeList)
| #define FD_SMART_PTR | ( | c | ) | 
| #define NO_LOKI 1 | 
Definition at line 9 of file PKIFTSPDLL.h.
| void PKIFDelete | ( | void * | p | ) | 
Interface: External
This function deletes the poiter that was passed in
| p | [in] A pointer to an object to be deleted | 
Definition at line 57 of file PKIFMemoryUtils.cpp.
Referenced by PKIFAlloc< T >::deallocate(), CPKIFCAPIUserRepository2::FindCertificates(), CPKIFCAPITrustStore2::FindCertificates(), CPKIFCAPIRepository2::FindCertificates(), CPKIFCAPICredential2::SetPassword(), CPKIFNSSPasswordStorage::SetUserCallback(), CPKIFNSSDatabase::Shutdown(), CPKIFAlgorithm::~CPKIFAlgorithm(), CPKIFCAPICredential2::~CPKIFCAPICredential2(), CPKIFNSSCertUpdate::~CPKIFNSSCertUpdate(), CPKIFNSSCredential::~CPKIFNSSCredential(), CPKIFNSSCRLUpdate::~CPKIFNSSCRLUpdate(), CPKIFNSSRepository::~CPKIFNSSRepository(), and CPKIFNSSTrustStore::~CPKIFNSSTrustStore().
| void* PKIFNew | ( | size_t | size | ) | 
Interface: External
This function creates an object of size specified by the parameter size and returns a pointer to that object.
| size | [in] size_t is a typedef for unsigned integer | 
Definition at line 44 of file PKIFMemoryUtils.cpp.
Referenced by PKIFAlloc< T >::allocate(), CPKIFSimplePasswordCallback::operator()(), and CPKIFCAPICredential2::SetPassword().
 1.5.6
 1.5.6