Constants

Constants

Crypto-C requires one macro: PROTO_LIST.

PROTO_LIST indicates the form that C function prototypes are to take. If function prototypes specify the types of the arguments, then PROTO_LIST should be defined as:

#define PROTO_LIST(list) list

Otherwise PROTO_LIST should be defined as:

#define PROTO_LIST(list) ()

Crypto-C defines one string constant: BSAFE_VERSION:

extern char *BSAFE_VERSION;

BSAFE_VERSION is a NULL-terminated string constant that specifies the release of the Crypto-C library.

A p p e n d i x B P l a t f o r m - S p e c i f i c Ty p e s a n d C o n s t a n t s

357

Page 367
Image 367
RSA Security 5 manual Otherwise Protolist should be defined as, Crypto-C defines one string constant Bsafeversion