c_getddr - Retrieves first two records from associated DDR file

SYNTAX

#include "las.h"

FUNCTION c_getddr (hname, ddr)

        char               *hname;
        struct DDR         *ddr;

PARAMETERS

hname (input, character, length(CMLEN))

Image host file name for which the information is to be retrieved.

ddr (output, DDR)

A DDR structure or a FORTRAN integer array dimensioned DDRLEN. It contains the first two records of the DDR for image hname.

DESCRIPTION

The c_getddr() call is used to return the first two records of DDR information of image hname.

RETURN VALUE

c_getddr() returns

     E_SUCC (0)  --> successful completion
     E_FAIL (-1) --> operation failed