cdds_openm - open mapping to output binary data from input
SYNOPSIS
#include "cdds.h"
int cdds_openm(out_bin, out_field, in_bin, in_field);
-
BIN_TAG out_bin
FIELD_TAG out_field
BIN_TAG in_bin
FIELD_TAG in_field
DESCRIPTION
This function sets up the mapping definition required to map
data from one binary (in_bin) to another (out_bin).
Specific fields within each binary are defined by in_field
and out_field. If either is zero, then they will default to
the SEQUENCE (trace).
A normal mapping will be setup for simple trace-trace processing, in
which case this call may not be required.
OUTPUT
A 0 value is returned for normal completion.
Otherwise, EOF will be returned.
EXAMPLES
-
BIN_TAG in_bin, out_bin;
...
cdds_openm(out_bin, 0, in_bin, 0);
...
SEE ALSO
cdds_open Open a binary stream
cdds_readm Read and map binary data
cdds_writem Map and write binary data
AUTHOR
Jerry Ehlers, BP America (May 2003)