//
// Copyright (C) 2004, 2015 Reinhard Prix
//
//  This program is free software; you can redistribute it and/or modify
//  it under the terms of the GNU General Public License as published by
//  the Free Software Foundation; either version 2 of the License, or
//  (at your option) any later version.
//
//  This program is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//  GNU General Public License for more details.
//
//  You should have received a copy of the GNU General Public License
//  along with with program; see the file COPYING. If not, write to the
//  Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
//  MA  02110-1301  USA
//

#ifndef _TRANSLATEANGLES_H  /* Double-include protection. */
#define _TRANSLATEANGLES_H

#include <lal/LALDatatypes.h>

/* C++ protection. */
#ifdef  __cplusplus
extern "C" {
#endif

/**
 * \defgroup TranslateAngles_h Header TranslateAngles.h
 * \ingroup lal_support
 * \author Reinhard Prix
 * \brief Module for translating between 'hms' (RA) and 'dms' (DEC) angle strings and radians
 *
 */

/** @{ */

// ---------- Function prototypes ----------
int XLALTranslateHMStoRAD ( REAL8 *radians, const CHAR *hms );
int XLALTranslateDMStoRAD ( REAL8 *radians, const CHAR *dms );
CHAR *XLALTranslateRADtoHMS ( REAL8 radians );
CHAR *XLALTranslateRADtoDMS ( REAL8 radians );
/** @} */


/* C++ protection. */
#ifdef  __cplusplus
}
#endif

#endif  /* Double-include protection. */
