dst_pkcs11.h File Reference

#include <isc/lang.h>
#include <isc/log.h>
#include <isc/result.h>

Go to the source code of this file.

Defines

#define DST_PKCS11_H   1
#define PK11_CALL(func, args, fallback)
#define PK11_RET(func, args, fallback)

Functions

ISC_LANG_BEGINDECLS isc_result_t dst__pkcs11_toresult (const char *funcname, const char *file, int line, isc_result_t fallback, CK_RV rv)


Define Documentation

#define DST_PKCS11_H   1

Definition at line 18 of file dst_pkcs11.h.

#define PK11_CALL ( func,
args,
fallback   ) 

Value:

((void) (((rv = (func) args) == CKR_OK) || \
                 ((ret = dst__pkcs11_toresult(#func, __FILE__, __LINE__, \
                                              fallback, rv)), 0)))

Definition at line 30 of file dst_pkcs11.h.

#define PK11_RET ( func,
args,
fallback   ) 

Value:

((void) (((rv = (func) args) == CKR_OK) || \
                 ((ret = dst__pkcs11_toresult(#func, __FILE__, __LINE__, \
                                              fallback, rv)), 0)));     \
        if (rv != CKR_OK) goto err;

Definition at line 35 of file dst_pkcs11.h.


Function Documentation

ISC_LANG_BEGINDECLS isc_result_t dst__pkcs11_toresult ( const char *  funcname,
const char *  file,
int  line,
isc_result_t  fallback,
CK_RV  rv 
)


Generated on Tue Apr 28 17:41:08 2015 by Doxygen 1.5.4 for BIND9 Internals 9.11.0pre-alpha