#include "las.h"
FUNCTION c_putbdf (bddr, key, value)
struct BDDR *bddr;
long *key;
unsigned char *value;
A BDDR structure or a FORTRAN integer array dimensioned to BDRLEN. It contains the fields of the band record of the DDR.
A constant used to designate the field of the DDR where value will be placed. The constants are shown below.
DDBAND -- Band number
DDMMV -- Min/max validity flag
DDMIN -- Minimum value
DDMAX -- Maximum value
DDSRC -- Source
DDINST -- Instrument
DDDIR -- Direction
DDCDAT -- Capture date
DDCTIM -- Capture time
Value that will be placed in the field of bddr that corresponds to key. It should consist of the same data type and length as the field of bddr that is needed.
The c_putbdf() call is used to place value in the field of bddr designated by key.
c_putbdf() returns
E_SUCC (0) --> successful completion
E_FAIL (-1) --> operation failed