PreviousNext

Encoding and Decoding in the Backing Store

When a Remote Procedure Call (RPC) sends data between a client and a server, it serializes the user's data structures by using the IDL Encoding Services (ES), described in the OSF DCE Application Development Guide - Core Components.

The backing store uses this same serialization scheme for encoding and decoding, informally called pickling, when storing data structures to disk. The IDL compiler, idl, writes the routine that encodes and decodes the data. This routine is passed to dce_db_open( ), remembered in the handle, and used by the store and fetch routines:

· dce_db_fetch( )

· dce_db_fetch_by_name( )

· dce_db_fetch_by_uuid( )

· dce_db_header_fetch( )

· dce_db_store( )

· dce_db_store_by_name( )

· dce_db_store_by_uuid( )