/***************************************************************************
                          misc.h  -  description
                             -------------------
    begin                : Wed Apr 19 2000
    copyright            : (C) 2000 by Thomas Ott
    email                : ott@mpe.mpg.de
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   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.                                   *
 *                                                                         *
 ***************************************************************************/
/*
 * file: utils/misc.h
 * Purpose: miscellanious utility functions - header file
 * Author: Thomas Ott
 *
 * History: 30.06.1999: file created
 */

#ifndef UTILS_MISC_H
#define UTILS_MISC_H

#ifdef __cplusplus
extern "C" {
#endif

void get2ints(int *i1, int *i2, int min1, int max1, int min2, int max2);
int get_integer(int min, int max);
void get2floats(float *, float *);
float get_float( void );
void get2doubles(double *, double *);
double get_double( void );

#ifdef __cplusplus
}
#endif

#endif /* UTILS_MISC_H */
