PreviousNext

Storing or Retrieving Data

The following routines store data into a backing store:

dce_db_store( )
This routine can store into a backing store that is indexed by name or by UUID. The key's type must match the flag that was used in dce_db_open( ).

dce_db_store_by_name( )
This routine can store only into a backing store that is indexed by name.

dce_db_store_by_uuid( )
This routine can store only into a backing store that is indexed by UUID.

To retrieve data from a backing store, use the appropriate one of the following routines:

dce_db_fetch( )
This routine can retrieve data from a backing store that is indexed by name or by UUID. The key's type must match the flag that was used in dce_db_open( ).

dce_db_fetch_by_name( )
This routine can retrieve data only from a backing store that is indexed by name.

dce_db_fetch_by_uuid( )
This routine can retrieve data only from a backing store that is indexed by UUID.

When storing or retrieving data, a function that was specified at open time converts between native format and on-disk (serialized) format. This function is generated from the IDL file by the IDL compiler.