/**---------------------------------------------------------------------------
 ** 
 ** db.h -- 
 ** 
 ** Author          : Pierre Jaccard
 ** Created On      : 1999/07/15 16:50:18
 ** Last Modified By: Pierre Jaccard
 ** Last Modified On: 1999/07/16 20:04:05
 ** Update Count    : 13
 ** Directory       : /home/pego/pcd1/codas3c/gfi/src/libs/ctd/
 ** Version         : 0.0
 ** Status          : Unknown
 ** ---------------------------------------------------------------------- ** 
 ** DESCRIPTION: 
 ** 
 **    See associated file db.c
 ** 
 ** ---------------------------------------------------------------------- ** 
 ** REVISIONS: 
 ** ---------------------------------------------------------------------- ** 
 ** CHANGES: 
 **------------------------------------------------------------------------**/


#ifndef gfilib_ctd_db_already_included
#define gfilib_ctd_db_already_included

#include "geninc.h"
#include "ioserv.h"
#include "use_db.h"
#include "ctd.h"
#include "ocean.h"
#include "data_id.h"
#include "vector.h"

#ifdef NPMAX
#undef NPMAX
#endif
#define NPMAX 3000 /* Maximal number of data per profiles */
 
#if PROTOTYPE_ALLOWED

void get_ctd_prf(CTD_PROFILE_TYPE *prof);
FLOAT get_ctd_temp(CTD_PROFILE_TYPE *ctd, FLOAT depth);
FLOAT get_ctd_sal(CTD_PROFILE_TYPE *ctd, FLOAT depth);

#else

void get_ctd_prf();
FLOAT get_ctd_temp();
FLOAT get_ctd_sal();

#endif  /* PROTOTYPE_ALLOWED */


#endif /* gfilib_ctd_db_already_included */
