| RSA BSAFE Cert-C Micro Edition |
The power of PKI for the smallest of devices |
Go to the source code of this file.
Defines | |
| #define | R_LOCK_LOCK |
| Specifies the mask flag used when requesting a lock. More... | |
| #define | R_LOCK_UNLOCK |
| Specifies the mask flag used when releasing a lock. More... | |
| #define | R_LOCK_READ |
| Specifies the mask flag used when requesting or releasing a read operation lock. More... | |
| #define | R_LOCK_WRITE |
| Specifies the mask flag used when requesting or releasing a write operation lock. More... | |
| #define | R_LOCK_INVALID |
| Indicates an invalid lock. | |
| #define | R_LOCK_ERR |
| Indicates an error. | |
| #define | R_LOCK_ERR_HASH |
| Indicates a hash error. | |
| #define | R_LOCK_RSA |
Indicates a lock on RSA. | |
| #define | R_LOCK_EVP_PKEY |
Indicates a lock on EVP_PKEY. | |
| #define | R_LOCK_SSL_CTX |
Indicates a lock on SSL_CTX. | |
| #define | R_LOCK_SSL_CERT |
Indicates a lock on SSLCERT. | |
| #define | R_LOCK_SSL_SESSION |
Indicates a lock on SSL_SESSION. | |
| #define | R_LOCK_SSL |
Indicates a lock on SSL. | |
| #define | R_LOCK_MALLOC |
Indicates a lock on malloc. | |
| #define | R_LOCK_BIO |
| Indicates a lock on BIO. | |
| #define | R_LOCK_SIO_GETHOSTBYNAME |
| Indicates a lock on a socket. | |
| #define | R_LOCK_APP_LOCK |
| Indicates an application lock. | |
| #define | R_LOCK_NUM |
| Indicates the total number of locks. | |
Typedefs | |
| typedef int | R_LOCK_CB_T (int mode, int lockid, char *file, int line) |
| Reports on the locking mechanism. More... | |
| typedef int | R_LOCKED_ADD_CB_T (int *num, int amount, int lockid, char *file, int line) |
| Implements locking of data structures and objects. More... | |
| typedef unsigned long | R_THREAD_ID_CB_T (void) |
| Returns a unique identifier for each thread. More... | |
Functions | |
| int | R_lock_w (int lockid) |
| Retrieves a write lock for the lock lockid. More... | |
| int | R_unlock_w (int lockid) |
| Clears the write lock for lockid. More... | |
| int | R_lock_r (int type) |
| Retrieves a read lock for the lock type. More... | |
| int | R_unlock_r (int lockid) |
| Clears the read lock for lockid. More... | |
| R_LOCK_CB_T* | R_lock_get_cb (void) |
| Returns the callback that is called by R_lock_ctrl(). More... | |
| int | R_lock_set_cb (R_LOCK_CB_T *func) |
| Sets the locking callback that enables and disables locks. More... | |
| R_LOCKED_ADD_CB_T* | R_locked_add_get_cb (void) |
| Returns the callback called via R_lock(). More... | |
| int | R_locked_add_set_cb (R_LOCKED_ADD_CB_T *func) |
| Sets the callback called via R_lock(). More... | |
| int | R_lockid_new (char *name) |
| Returns a new lock identifier (that is, lock table index number) name for a new lock. More... | |
| void | R_lockids_free (void) |
| Frees all current locks and should be called if new locks have been created and are not required. More... | |
| int | R_lock_num (void) |
| Returns the number of locks required by the library. More... | |
| char* | |