#ifndef YAZ_GETTIMEOFDAY_H
#define YAZ_GETTIMEOFDAY_H
-#include <time.h>
#include <yaz/yconfig.h>
YAZ_BEGIN_CDECL
+YAZ_EXPORT struct timeval;
+
/** \brief gettimeofday
\param tval timeval for resulting time
YAZ_EXPORT
void yaz_cond_destroy(YAZ_COND *p);
+YAZ_EXPORT struct timeval;
+
/** \brief waits for condition
\param p condition variable handle
\param m mutex
Semantics like pthread_cond_wait.
*/
-YAZ_EXPORT struct timeval;
-
YAZ_EXPORT
int yaz_cond_wait(YAZ_COND p, YAZ_MUTEX m, const struct timeval *abstime);