#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 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.
ISC_LANG_BEGINDECLS isc_result_t dst__pkcs11_toresult | ( | const char * | funcname, | |
const char * | file, | |||
int | line, | |||
isc_result_t | fallback, | |||
CK_RV | rv | |||
) |