RSA BSAFE Cert-C Micro Edition

The power of PKI for the smallest of devices

r_lib.h File Reference

This file provides information on the structures, function prototypes and defines used in the manipulation of library context objects.

#include "r_com.h"
#include "r_flg.h"
#include "r_strtbl.h"
#include "bio.h"

Go to the source code of this file.

Defines

#define R_LIB_RES_SMALL
 A cut-down library interface that only supports the get_resource, get_module and get_module_data methods of the R_LIB_CTX interface. More...

#define R_LIB_RES_DEFAULT
 Indicates the full R_LIB_CTX interface. More...

#define R_LIB_RES_ERROR_STRINGS
 Textual descriptions of common error codes. More...


Typedefs

typedef struct r_lib_ctx_st R_LIB_CTX
 The common library context. More...

typedef struct r_res_item_st R_RES_ITEM
 The resource item. More...

typedef R_RES_ITEM R_RES_LIST
 The resource list. More...

typedef int R_RES_FLAG
 Indicates the type of the resource flag.

typedef struct r_lib_method_st R_LIB_METHOD
 The library method table. More...

typedef struct r_lib_debug_st R_LIB_DEBUG
 The library context debug structure which is used to define the type of debugging required and the location where the debug information is sent.

typedef struct r_lib_feat_st R_LIB_FEAT
 The library context feature structure which is used to store the state of the library features.


Functions

int R_LIB_CTX_new (R_RES_LIST *r_list, R_RES_FLAG flag, R_LIB_CTX **lib_ctx)
 Allocates the library context based upon a supplied resource list. More...

int R_LIB_CTX_free (R_LIB_CTX *lib_ctx)
 Deallocates the library context. More...


Typedef Documentation

typedef struct r_lib_method_st R_LIB_METHOD
 

The library method table. An opaque structure that contains the methods for the R_LIB_CTX functions.

typedef struct r_res_item_st R_RES_ITEM
 

The resource item. A structure that is used to store the individual members of a resource list.

typedef R_RES_ITEM R_RES_LIST
 

The resource list. A structure that is used to store the resource list.

See R_RES_ITEM.


Copyright (c) 1999-2002 RSA Security Inc. All rights reserved. 061-001005-150-001-000-3768 - 1.5