/*
 * (c) 2005 Research Group Dr. Fuhrmann, University of Karlsruhe, Germany
 * All rights reserved.
 *
 * Author:
 *         Roman Krenicky
 *
 * $Id: misc.h,v 1.2 2005/11/21 09:39:01 kutzner Exp $
 *
 */

/*
  misc.h
  created: 30.4.2005
  last change: 30.4.2005
*/
/*! @file
    some useful utility functions
*/

#ifndef _MISC_H
#define _MISC_H

#include "globalheader.h"

extern "C"
{
      #include <time.h>
}


timespec timeadd (const timespec &time1, const timespec &time2);

timespec timesub (const timespec &time1, const timespec &time2);

int timecmp (const timespec &time1, const timespec &time2);


#endif // _MISC_H
