/* **********************************************************************
 * *                                                                    *
 * *    Dual Pol Applications library header file                       *
 * *                                                                    *
 * **********************************************************************
 * File: include/dpolapp_lib.h
 *
 *                        COPYRIGHT (c) 2006 BY
 *             VAISALA INC., WESTFORD MASSACHUSETTS, U.S.A.
 * 
 * THIS SOFTWARE IS FURNISHED UNDER A LICENSE AND MAY BE USED AND  COPIED
 * ONLY  IN  ACCORDANCE WITH  THE  TERMS  OF  SUCH  LICENSE  AND WITH THE
 * INCLUSION OF THE ABOVE COPYRIGHT NOTICE.  THIS SOFTWARE  OR  ANY OTHER
 * COPIES  THEREOF MAY NOT BE PROVIDED OR OTHERWISE MADE AVAILABLE TO ANY
 * OTHER PERSON.  NO TITLE TO AND OWNERSHIP OF  THE  SOFTWARE  IS  HEREBY
 * TRANSFERED.
 */
#ifndef SIGMET_DPOLAPP_LIB_H
#define SIGMET_DPOLAPP_LIB_H 1

#ifdef __cplusplus
extern "C" {
#endif
  
#ifndef MESSAGE_ONLY


#ifdef SIGMET_INGEST_H
     void HClassDoRay                  /* File: HydroClass.C */
( const struct data_ray *pInRay_a,
  SINT4 dbz_dtype_a,
    struct data_ray *pOutRay_a );
#endif  /* #ifdef SIGMET_INGEST_H */

  void HClassFreeAllResources(void);     /* File: HydroClass.C */

  void HClassFreeVolumeResources(void);     /* File: HydroClass.C */

  void HClassInitSweep                /* File: HydroClass.C */
( BIN2 iNomEl_c         /* The nominal elevation angle */
  );

#ifdef SIGMET_INGEST_HEADER_DEFINED
  void HClassInitVolume             /* File: HydroClass.C */
  ( const struct ingest_header *smy_a
    );
#endif  /* #ifdef SIGMET_INGEST_HEADER_DEFINED */

/* Make a complete corrected reflectivity (Zc) INGEST parameter data file.
 * This is just for one sweep.
 */
#ifdef SIGMET_INGEST_HEADER_DEFINED
MESSAGE HClassMakeDatafile          /* File: HydroClass.C */
( const struct ingest_header *sum_a,
  const char *spathname_a,
  struct ingest_data_file * const idaddr_a[NUM_DEFINED_DATA] );
#endif  /* #ifdef SIGMET_INGEST_HEADER_DEFINED */

#ifdef SIGMET_INGEST_HEADER_DEFINED
  UINT1 HClassTestForRun(const struct ingest_header *pIhd_a);
#endif  /* #ifdef SIGMET_INGEST_HEADER_DEFINED */


#endif /* #ifndef MESSAGE_ONLY */

#ifdef __cplusplus
}
#endif
#endif /* #ifndef SIGMET_DPOLAPP_LIB_H */
